diff --git a/assets b/assets index 0dc5aec06..bb36fb527 160000 --- a/assets +++ b/assets @@ -1 +1 @@ -Subproject commit 0dc5aec06f409bfa5b3159fc03981be53571143f +Subproject commit bb36fb527ba039d572c1af3698e45c7b706c0734 diff --git a/lib/screen/interactive_postcard/postcard_detail_page.dart b/lib/screen/interactive_postcard/postcard_detail_page.dart index 1856af20d..5a1e3de61 100644 --- a/lib/screen/interactive_postcard/postcard_detail_page.dart +++ b/lib/screen/interactive_postcard/postcard_detail_page.dart @@ -600,13 +600,18 @@ class ClaimedPostcardDetailPageState extends State Widget _postcardAction(BuildContext context, PostcardDetailState state) { final asset = state.assetToken!; final theme = Theme.of(context); - if (asset.isCompleted && !isViewOnly) { + final place15StampsText = Text( + "place_15_stamps".tr(), + style: theme.textTheme.moMASans400Black12, + ); + if (isViewOnly) { + return const SizedBox(); + } + if (asset.isCompleted) { return _postcardPhysical(context, state); } - if (!state.isLastOwner || - !state.postcardValueLoaded || - isViewOnly != false) { - return const SizedBox(); + if (!state.isLastOwner || !state.postcardValueLoaded) { + return place15StampsText; } if (state.isPostcardUpdatingOnBlockchain || state.isPostcardUpdating) { return PostcardCustomButton( @@ -634,6 +639,7 @@ class ClaimedPostcardDetailPageState extends State }, ); } + final sendPostcardExplain = [ const SizedBox( height: 20, @@ -645,6 +651,10 @@ class ClaimedPostcardDetailPageState extends State style: theme.textTheme.moMASans400Black12, ), ), + Padding( + padding: const EdgeInsets.only(left: 16, right: 15, top: 10), + child: place15StampsText, + ), ]; if (!isSending) { timer?.cancel(); @@ -701,11 +711,6 @@ class ClaimedPostcardDetailPageState extends State isPlainUI: true, localStorageItems: {'token': jwtToken})); }, ), - const SizedBox(height: 15), - Text( - "unlock_physical_objects_desc".tr(), - style: Theme.of(context).textTheme.moMASans400Black12, - ), ], ); }