mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 09:29:48 +00:00
revert where keyboard popup happens + uri fix
This commit is contained in:
parent
f5ff859e4f
commit
9d0576c0ec
1 changed files with 4 additions and 7 deletions
|
@ -127,10 +127,6 @@ class _WalletSeedPageBodyState extends State<WalletSeedPageBody> {
|
|||
|
||||
// required to setup autofill context:
|
||||
_nameFieldController.text = widget.walletSeedViewModel.name;
|
||||
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
||||
await setupPasswordManager();
|
||||
});
|
||||
}
|
||||
|
||||
Future<void> setupPasswordManager() async {
|
||||
|
@ -316,9 +312,8 @@ class _WalletSeedPageBodyState extends State<WalletSeedPageBody> {
|
|||
PrimaryButton(
|
||||
onPressed: () async {
|
||||
await launchUrl(
|
||||
Uri.https(
|
||||
"guides.cakewallet.com",
|
||||
"/docs/basic-features/create-first-wallet/#saving-seed-with-password-manager",
|
||||
Uri.parse(
|
||||
"https://guides.cakewallet.com/docs/basic-features/create-first-wallet/#saving-seed-with-password-manager",
|
||||
),
|
||||
mode: LaunchMode.externalApplication,
|
||||
);
|
||||
|
@ -334,6 +329,8 @@ class _WalletSeedPageBodyState extends State<WalletSeedPageBody> {
|
|||
) ??
|
||||
false;
|
||||
if (open) {
|
||||
await setupPasswordManager();
|
||||
await Future.delayed(Duration(milliseconds: 300));
|
||||
TextInput.finishAutofillContext();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue