mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-07 03:19:31 +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:
|
// required to setup autofill context:
|
||||||
_nameFieldController.text = widget.walletSeedViewModel.name;
|
_nameFieldController.text = widget.walletSeedViewModel.name;
|
||||||
|
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
|
||||||
await setupPasswordManager();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> setupPasswordManager() async {
|
Future<void> setupPasswordManager() async {
|
||||||
|
@ -316,9 +312,8 @@ class _WalletSeedPageBodyState extends State<WalletSeedPageBody> {
|
||||||
PrimaryButton(
|
PrimaryButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
await launchUrl(
|
await launchUrl(
|
||||||
Uri.https(
|
Uri.parse(
|
||||||
"guides.cakewallet.com",
|
"https://guides.cakewallet.com/docs/basic-features/create-first-wallet/#saving-seed-with-password-manager",
|
||||||
"/docs/basic-features/create-first-wallet/#saving-seed-with-password-manager",
|
|
||||||
),
|
),
|
||||||
mode: LaunchMode.externalApplication,
|
mode: LaunchMode.externalApplication,
|
||||||
);
|
);
|
||||||
|
@ -334,6 +329,8 @@ class _WalletSeedPageBodyState extends State<WalletSeedPageBody> {
|
||||||
) ??
|
) ??
|
||||||
false;
|
false;
|
||||||
if (open) {
|
if (open) {
|
||||||
|
await setupPasswordManager();
|
||||||
|
await Future.delayed(Duration(milliseconds: 300));
|
||||||
TextInput.finishAutofillContext();
|
TextInput.finishAutofillContext();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue