From e4fe117e10582b9bfdd4f9384b29262ef67f620e Mon Sep 17 00:00:00 2001 From: reasje Date: Mon, 25 Sep 2023 17:22:35 +0330 Subject: [PATCH 1/2] fix: Import wallet ui fixes --- .../splash/import_wallet/import_wallet_page.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/features/splash/import_wallet/import_wallet_page.dart b/lib/features/splash/import_wallet/import_wallet_page.dart index f09641b3..3f36ad56 100644 --- a/lib/features/splash/import_wallet/import_wallet_page.dart +++ b/lib/features/splash/import_wallet/import_wallet_page.dart @@ -25,11 +25,10 @@ class SplashImportWalletPage extends HookConsumerWidget { valueListenable: presenter.mnemonicController, builder: (ctx, mnemonicValue, _) { return Padding( - padding: const EdgeInsets.symmetric(horizontal: 24), + padding: const EdgeInsets.only(left: 24, right: 24, top: 16), child: MxcButton.primaryWhite( key: const Key('importWalletButton'), - title: FlutterI18n.translate(context, 'import_wallet') - .toUpperCase(), + title: FlutterI18n.translate(context, 'import_wallet'), onTap: mnemonicValue.text.isNotEmpty ? () { FocusManager.instance.primaryFocus?.unfocus(); @@ -50,7 +49,7 @@ class SplashImportWalletPage extends HookConsumerWidget { style: FontTheme.of(context).h4.white(), ), Padding( - padding: const EdgeInsets.only(top: 16, bottom: 32), + padding: const EdgeInsets.only(top: 16, bottom: 16), child: Text( FlutterI18n.translate(context, 'word_seed_phrase'), style: FontTheme.of(context).body1.white(), @@ -66,6 +65,9 @@ class SplashImportWalletPage extends HookConsumerWidget { context, 'enter_secret_recovery_phrase'), action: TextInputAction.done, validator: (v) => presenter.validate(v), + autoFocus: true, + borderUnFocusColor: ColorsTheme.of(context).borderPrimary100, + borderFocusColor: ColorsTheme.of(context).borderPrimary200, ), ), ], From 4b12521ec75c19ee8b42141536702e1924370f96 Mon Sep 17 00:00:00 2001 From: reasje Date: Mon, 25 Sep 2023 17:32:27 +0330 Subject: [PATCH 2/2] fix: update shared --- packages/shared | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared b/packages/shared index 79da7ed1..5a8ffee4 160000 --- a/packages/shared +++ b/packages/shared @@ -1 +1 @@ -Subproject commit 79da7ed13f0077c981cf8c4faeced34c7e140e29 +Subproject commit 5a8ffee4536121004f975a53adbd54a22054db76