|
@@ -275,7 +275,11 @@ class _AirdropScreenState extends ConsumerState<AirdropScreen> {
|
|
|
width: 18,
|
|
width: 18,
|
|
|
height: 18,
|
|
height: 18,
|
|
|
child: CircularProgressIndicator(strokeWidth: 2))
|
|
child: CircularProgressIndicator(strokeWidth: 2))
|
|
|
- : Text(l10n.airdropClaimNow),
|
|
|
|
|
|
|
+ : Text(
|
|
|
|
|
+ canClaim
|
|
|
|
|
+ ? l10n.airdropClaimNow
|
|
|
|
|
+ : l10n.airdropClaimAfterTasks,
|
|
|
|
|
+ ),
|
|
|
),
|
|
),
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
@@ -516,7 +520,7 @@ class _SectionTitle extends StatelessWidget {
|
|
|
return Center(
|
|
return Center(
|
|
|
child: Row(
|
|
child: Row(
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
- crossAxisAlignment:CrossAxisAlignment.center,
|
|
|
|
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
children: [
|
|
children: [
|
|
|
// Container(
|
|
// Container(
|
|
@@ -525,15 +529,24 @@ class _SectionTitle extends StatelessWidget {
|
|
|
// decoration: BoxDecoration(
|
|
// decoration: BoxDecoration(
|
|
|
// color: AppColors.brand,
|
|
// color: AppColors.brand,
|
|
|
// borderRadius: BorderRadius.circular(2))),
|
|
// borderRadius: BorderRadius.circular(2))),
|
|
|
- Image.asset("assets/images/ico_airdrop_left.png",height:10,),
|
|
|
|
|
|
|
+ Image.asset(
|
|
|
|
|
+ "assets/images/ico_airdrop_left.png",
|
|
|
|
|
+ height: 10,
|
|
|
|
|
+ ),
|
|
|
const SizedBox(width: 5),
|
|
const SizedBox(width: 5),
|
|
|
- Padding(padding:EdgeInsetsGeometry.only(bottom:3),child:Text(title,
|
|
|
|
|
- style: TextStyle(
|
|
|
|
|
- color: _airdropPrimaryText(context),
|
|
|
|
|
- fontSize: 14,
|
|
|
|
|
- fontWeight: FontWeight.w600)),),
|
|
|
|
|
|
|
+ Padding(
|
|
|
|
|
+ padding: EdgeInsetsGeometry.only(bottom: 3),
|
|
|
|
|
+ child: Text(title,
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ color: _airdropPrimaryText(context),
|
|
|
|
|
+ fontSize: 14,
|
|
|
|
|
+ fontWeight: FontWeight.w600)),
|
|
|
|
|
+ ),
|
|
|
const SizedBox(width: 5),
|
|
const SizedBox(width: 5),
|
|
|
- Image.asset("assets/images/ico_airdrop_right.png",height:10,),
|
|
|
|
|
|
|
+ Image.asset(
|
|
|
|
|
+ "assets/images/ico_airdrop_right.png",
|
|
|
|
|
+ height: 10,
|
|
|
|
|
+ ),
|
|
|
// Container(
|
|
// Container(
|
|
|
// width: 14,
|
|
// width: 14,
|
|
|
// height: 3,
|
|
// height: 3,
|