This commit is contained in:
Matthew Fosse 2024-05-16 09:16:35 -07:00
parent dc628ae0f8
commit 71245d7eb6
27 changed files with 66 additions and 20 deletions

View file

@ -120,17 +120,22 @@ class _WalletSeedPageBodyState extends State<WalletSeedPageBody> {
void initState() {
super.initState();
// required to setup autofill context:
_nameFieldController.text = widget.walletSeedViewModel.name;
WidgetsBinding.instance.addPostFrameCallback((_) async {
_seedNode.requestFocus();
// WidgetsBinding.instance.addPostFrameCallback((_) async {
// setupPasswordManager();
// });
}
await Future.delayed(Duration(milliseconds: 200));
_seedFieldController.text = widget.walletSeedViewModel.seed;
Future<void> setupPasswordManager() async {
_seedNode.requestFocus();
WidgetsBinding.instance.addPostFrameCallback((_) {
FocusScope.of(context).unfocus();
});
await Future.delayed(Duration(milliseconds: 200));
_seedFieldController.text = widget.walletSeedViewModel.seed;
WidgetsBinding.instance.addPostFrameCallback((_) {
FocusScope.of(context).unfocus();
});
}
@ -225,7 +230,7 @@ class _WalletSeedPageBodyState extends State<WalletSeedPageBody> {
children: <Widget>[
Flexible(
child: Container(
padding: EdgeInsets.only(right: 8.0),
padding: EdgeInsets.only(right: 4),
child: PrimaryButton(
onPressed: () {
ShareUtil.share(
@ -241,7 +246,7 @@ class _WalletSeedPageBodyState extends State<WalletSeedPageBody> {
),
Flexible(
child: Container(
padding: EdgeInsets.only(left: 8.0),
padding: EdgeInsets.only(left: 4),
child: Builder(
builder: (context) => PrimaryButton(
onPressed: () {
@ -256,19 +261,34 @@ class _WalletSeedPageBodyState extends State<WalletSeedPageBody> {
),
),
),
Flexible(
child: Container(
padding: EdgeInsets.only(right: 8.0),
child: PrimaryButton(
onPressed: () => TextInput.finishAutofillContext(),
text: "save 2",
color: Colors.green,
textColor: Colors.white,
),
),
)
],
),
Container(
padding: EdgeInsets.only(top: 10),
child: PrimaryButton(
onPressed: () async {
showPopUp<void>(
context: context,
builder: (dialogContext) {
return AlertWithTwoActions(
alertTitle: S.of(context).save_to_pm,
alertContent: S.of(context).save_backup_password,
rightButtonText: S.of(context).ok,
leftButtonText: S.of(context).cancel,
actionRightButton: () async {},
actionLeftButton: () => Navigator.of(dialogContext).pop(),
);
},
);
await setupPasswordManager();
TextInput.finishAutofillContext();
},
text: S.current.save_to_pm,
color: Colors.blue,
textColor: Colors.white,
),
),
],
),
],

View file

@ -530,6 +530,7 @@
"save_backup_password": "يرجى التأكد من حفظ كلمة المرور الاحتياطية. لن تتمكن من استيراد ملفات النسخ الاحتياطي بدونها.",
"save_backup_password_alert": "حفظ كلمة المرور الاحتياطية",
"save_to_downloads": "ﺕﻼﻳﺰﻨﺘﻟﺍ ﻲﻓ ﻆﻔﺣ",
"save_to_pm": "حفظ إلى مدير كلمة المرور",
"saved_the_trade_id": "لقد تم حفظ معرف العملية",
"scan_qr_code": "امسح رمز QR ضوئيًا",
"scan_qr_code_to_get_address": "امسح ال QR للحصول على العنوان",

View file

@ -530,6 +530,7 @@
"save_backup_password": "Моля, запишете своята парола за възстановяване. Импортирането на резервни копия не е възможно без нея.",
"save_backup_password_alert": "Запазване на паролата за възстановяване",
"save_to_downloads": "Запазване в Изтегляния",
"save_to_pm": "Запазване на мениджъра на пароли",
"saved_the_trade_id": "Запазих trade ID-то",
"scan_qr_code": "Сканирайте QR кода, за да получите адреса",
"scan_qr_code_to_get_address": "Сканирайте QR кода, за да получите адреса",

View file

@ -530,6 +530,7 @@
"save_backup_password": "Prosím ujistěte se, že máte uschováno heslo pro zálohy. Bez něj nebudete moci naimportovat soubory se zálohami.",
"save_backup_password_alert": "Uložit heslo pro zálohy",
"save_to_downloads": "Uložit do Stažených souborů",
"save_to_pm": "Uložit správce hesel",
"saved_the_trade_id": "Uložil jsem si ID transakce (trade ID)",
"scan_qr_code": "Naskenujte QR kód pro získání adresy",
"scan_qr_code_to_get_address": "Prohledejte QR kód a získejte adresu",

View file

@ -531,6 +531,7 @@
"save_backup_password": "Bitte stellen Sie sicher, dass Sie Ihr Sicherungskennwort gespeichert haben. Ohne dieses können Sie Ihre Sicherungsdateien nicht importieren.",
"save_backup_password_alert": "Sicherungskennwort speichern",
"save_to_downloads": "Unter „Downloads“ speichern",
"save_to_pm": "Speichern Sie den Passwort Manager",
"saved_the_trade_id": "Ich habe die Handels-ID gespeichert",
"scan_qr_code": "QR-Code scannen",
"scan_qr_code_to_get_address": "Scannen Sie den QR-Code, um die Adresse zu erhalten",

View file

@ -530,6 +530,7 @@
"save_backup_password": "Please make sure that you have saved your backup password. You will not be able to import your backup files without it.",
"save_backup_password_alert": "Save backup password",
"save_to_downloads": "Save to Downloads",
"save_to_pm": "Save to Password Manager",
"saved_the_trade_id": "I've saved the trade ID",
"scan_qr_code": "Scan QR code",
"scan_qr_code_to_get_address": "Scan the QR code to get the address",

View file

@ -531,6 +531,7 @@
"save_backup_password": "Asegúrese de haber guardado su contraseña de respaldo. No podrá importar sus archivos de respaldo sin él.",
"save_backup_password_alert": "Guardar contraseña de respaldo",
"save_to_downloads": "Guardar en Descargas",
"save_to_pm": "Guardar al administrador de contraseñas",
"saved_the_trade_id": "He salvado comercial ID",
"scan_qr_code": "Escanear código QR",
"scan_qr_code_to_get_address": "Escanee el código QR para obtener la dirección",

View file

@ -530,6 +530,7 @@
"save_backup_password": "Merci de vous assurer d'avoir bien sauvegardé votre mot de passe de sauvegarde. Vous ne pourrez pas restaurer vos fichiers de sauvegarde sans ce dernier.",
"save_backup_password_alert": "Enregistrer le mot de passe de sauvegarde",
"save_to_downloads": "Enregistrer dans les téléchargements",
"save_to_pm": "Enregistrer sur Motword Manager",
"saved_the_trade_id": "J'ai sauvegardé l'ID d'échange",
"scan_qr_code": "Scannez le QR code",
"scan_qr_code_to_get_address": "Scannez le QR code pour obtenir l'adresse",

View file

@ -532,6 +532,7 @@
"save_backup_password": "Da fatan za a tabbatar cewa kun adana kalmar sirrin ajiyar ku. Ba za ku iya shigo da fayilolin ajiyar ku ba tare da shi ba.",
"save_backup_password_alert": "Ajiye kalmar sirri ta ajiya",
"save_to_downloads": "Ajiye zuwa Zazzagewa",
"save_to_pm": "Ajiye zuwa Manajan Kalmar wucewa",
"saved_the_trade_id": "Na ajiye ID na ciniki",
"scan_qr_code": "Gani QR kodin",
"scan_qr_code_to_get_address": "Duba lambar QR don samun adireshin",

View file

@ -532,6 +532,7 @@
"save_backup_password": "कृपया सुनिश्चित करें कि आपने अपना बैकअप पासवर्ड सहेज लिया है। आप इसके बिना अपनी बैकअप फ़ाइलों को आयात नहीं कर पाएंगे।",
"save_backup_password_alert": "बैकअप पासवर्ड सेव करें",
"save_to_downloads": "डाउनलोड में सहेजें",
"save_to_pm": "पासवर्ड मैनेजर को सहेजें",
"saved_the_trade_id": "मैंने व्यापार बचा लिया है ID",
"scan_qr_code": "स्कैन क्यू आर कोड",
"scan_qr_code_to_get_address": "पता प्राप्त करने के लिए QR कोड स्कैन करें",

View file

@ -530,6 +530,7 @@
"save_backup_password": "Molimo pobrinite se da spremite svoju lozinku za sigurnosnu kopiju. Bez nje nećete moći uvesti datoteke sigurnosne kopije.",
"save_backup_password_alert": "Spremi lozinku za sigurnosnu kopiju",
"save_to_downloads": "Spremi u Preuzimanja",
"save_to_pm": "Spremi u upravitelja lozinke",
"saved_the_trade_id": "Spremio/la sam transakcijski ID",
"scan_qr_code": "Skenirajte QR kod",
"scan_qr_code_to_get_address": "Skeniraj QR kod za dobivanje adrese",

View file

@ -533,6 +533,7 @@
"save_backup_password": "Pastikan Anda telah menyimpan kata sandi cadangan Anda. Anda tidak akan dapat mengimpor file cadangan Anda tanpa itu.",
"save_backup_password_alert": "Simpan kata sandi cadangan",
"save_to_downloads": "Simpan ke Unduhan",
"save_to_pm": "Simpan ke Manajer Kata Sandi",
"saved_the_trade_id": "Saya telah menyimpan ID perdagangan",
"scan_qr_code": "Scan kode QR untuk mendapatkan alamat",
"scan_qr_code_to_get_address": "Pindai kode QR untuk mendapatkan alamat",

View file

@ -532,6 +532,7 @@
"save_backup_password": "Gentilmente assicurati di aver salvato la password del tuo backup. Senza questa non sarai in grado di importare i tuoi file di backup.",
"save_backup_password_alert": "Salva password Backup",
"save_to_downloads": "Salva in Download",
"save_to_pm": "Salva su Password Manager",
"saved_the_trade_id": "Ho salvato l'ID dello scambio",
"scan_qr_code": "Scansiona il codice QR",
"scan_qr_code_to_get_address": "Scansiona il codice QR per ottenere l'indirizzo",

View file

@ -531,6 +531,7 @@
"save_backup_password": "バックアップパスワードが保存されていることを確認してください。 それなしではバックアップファイルをインポートすることはできません。",
"save_backup_password_alert": "バックアップパスワードを保存する",
"save_to_downloads": "ダウンロードに保存",
"save_to_pm": "パスワードマネージャーに保存します",
"saved_the_trade_id": "取引IDを保存しました",
"scan_qr_code": "QRコードをスキャン",
"scan_qr_code_to_get_address": "QRコードをスキャンして住所を取得します",

View file

@ -531,6 +531,7 @@
"save_backup_password": "백업 암호를 저장했는지 확인하십시오. 그것 없이는 백업 파일을 가져올 수 없습니다.",
"save_backup_password_alert": "백업 비밀번호 저장",
"save_to_downloads": "다운로드에 저장",
"save_to_pm": "비밀번호 관리자에게 저장하십시오",
"saved_the_trade_id": "거래 ID를 저장했습니다",
"scan_qr_code": "QR 코드 스캔",
"scan_qr_code_to_get_address": "QR 코드를 스캔하여 주소를 얻습니다.",

View file

@ -530,6 +530,7 @@
"save_backup_password": "သင်၏ အရန်စကားဝှက်ကို သိမ်းဆည်းထားကြောင်း သေချာပါစေ။ ၎င်းမပါဘဲ သင်၏ အရန်ဖိုင်များကို တင်သွင်းနိုင်မည် မဟုတ်ပါ။",
"save_backup_password_alert": "အရန်စကားဝှက်ကို သိမ်းဆည်းပါ။",
"save_to_downloads": "ဒေါင်းလုဒ်များထံ သိမ်းဆည်းပါ။",
"save_to_pm": "စကားဝှက်မန်နေဂျာကိုသိမ်းဆည်းပါ",
"saved_the_trade_id": "ကုန်သွယ်မှု ID ကို သိမ်းဆည်းပြီးပါပြီ။",
"scan_qr_code": "QR ကုဒ်ကို စကင်န်ဖတ်ပါ။",
"scan_qr_code_to_get_address": "လိပ်စာရယူရန် QR ကုဒ်ကို စကင်န်ဖတ်ပါ။",

View file

@ -530,6 +530,7 @@
"save_backup_password": "Zorg ervoor dat u uw reservewachtwoord heeft opgeslagen. Zonder dit kunt u uw back-upbestanden niet importeren.",
"save_backup_password_alert": "Bewaar back-upwachtwoord",
"save_to_downloads": "Opslaan in downloads",
"save_to_pm": "Opslaan op wachtwoordbeheerder",
"saved_the_trade_id": "Ik heb de ruil-ID opgeslagen",
"scan_qr_code": "Scan QR-code",
"scan_qr_code_to_get_address": "Scan de QR-code om het adres te krijgen",

View file

@ -530,6 +530,7 @@
"save_backup_password": "Upewnij się, że zapisałeś swoje hasło kopii zapasowej. Bez tego nie będziesz mógł zaimportować pliku kopii zapasowej.",
"save_backup_password_alert": "Zapisz hasło kopii zapasowej",
"save_to_downloads": "Zapisz w Pobranych",
"save_to_pm": "Zapisz w menedżerze haseł",
"saved_the_trade_id": "Zapisałem ID",
"scan_qr_code": "Skanowania QR code",
"scan_qr_code_to_get_address": "Zeskanuj kod QR, aby uzyskać adres",

View file

@ -532,6 +532,7 @@
"save_backup_password": "Certifique-se de que salvou sua senha de backup. Você não poderá importar seus arquivos de backup sem ele.",
"save_backup_password_alert": "Salvar senha de backup",
"save_to_downloads": "Salvar em Downloads",
"save_to_pm": "Salvar no gerenciador de senhas",
"saved_the_trade_id": "ID da troca salvo",
"scan_qr_code": "Escanear código QR",
"scan_qr_code_to_get_address": "Digitalize o código QR para obter o endereço",

View file

@ -531,6 +531,7 @@
"save_backup_password": "Убедитесь, что вы сохранили пароль резервной копии. Без него вы не сможете импортировать файлы резервных копий.",
"save_backup_password_alert": "Сохранить пароль резервной копии",
"save_to_downloads": "Сохранить в загрузках",
"save_to_pm": "Сохранить в диспетчере паролей",
"saved_the_trade_id": "Я сохранил ID сделки",
"scan_qr_code": "Сканировать QR-код",
"scan_qr_code_to_get_address": "Отсканируйте QR-код для получения адреса",

View file

@ -530,6 +530,7 @@
"save_backup_password": "โปรดตรวจสอบให้แน่ใจว่าคุณได้บันทึกรหัสผ่านสำรองข้อมูลแล้ว คุณจะไม่สามารถนำเข้าไฟล์สำรองข้อมูลของคุณโดยไม่ใช้รหัสผ่านนั้น",
"save_backup_password_alert": "บันทึกรหัสผ่านสำรอง",
"save_to_downloads": "บันทึกลงดาวน์โหลด",
"save_to_pm": "บันทึกลงในตัวจัดการรหัสผ่าน",
"saved_the_trade_id": "ฉันได้บันทึก ID ของการซื้อขายแล้ว",
"scan_qr_code": "สแกนรหัส QR",
"scan_qr_code_to_get_address": "สแกน QR code เพื่อรับที่อยู่",

View file

@ -530,6 +530,7 @@
"save_backup_password": "Mangyaring tiyaking nai -save mo ang iyong backup password. Hindi mo mai -import ang iyong mga backup na file nang wala ito.",
"save_backup_password_alert": "I -save ang backup password",
"save_to_downloads": "I -save sa mga pag -download",
"save_to_pm": "I -save sa manager ng password",
"saved_the_trade_id": "Nai -save ko ang trade ID",
"scan_qr_code": "I -scan ang QR Code",
"scan_qr_code_to_get_address": "I -scan ang QR code upang makuha ang address",

View file

@ -530,6 +530,7 @@
"save_backup_password": "Lütfen yedekleme parolanı kaydettiğinden emin ol. Bu parola olmadan yedekleme dosyasını içe aktaramazsın.",
"save_backup_password_alert": "Yedek parolasını kaydet",
"save_to_downloads": "İndirilenlere Kaydet",
"save_to_pm": "Şifre Yöneticisine Kaydet",
"saved_the_trade_id": "Takas ID'imi kaydettim",
"scan_qr_code": "QR kodunu tarayın",
"scan_qr_code_to_get_address": "Adresi getirmek için QR kodunu tara",

View file

@ -531,6 +531,7 @@
"save_backup_password": "Переконайтеся, що ви зберегли свій пароль резервної копії. Без нього ви не зможете імпортувати файли резервних копій.",
"save_backup_password_alert": "Зберегти пароль резервної копії",
"save_to_downloads": "Зберегти до завантажень",
"save_to_pm": "Зберегти до менеджера паролів",
"saved_the_trade_id": "Я зберіг ID операції",
"scan_qr_code": "Відскануйте QR-код",
"scan_qr_code_to_get_address": "Скануйте QR-код для одержання адреси",

View file

@ -532,6 +532,7 @@
"save_backup_password": "براہ کرم یقینی بنائیں کہ آپ نے اپنا بیک اپ پاس ورڈ محفوظ کر لیا ہے۔ آپ اس کے بغیر اپنی بیک اپ فائلیں درآمد نہیں کر سکیں گے۔",
"save_backup_password_alert": "بیک اپ پاس ورڈ محفوظ کریں۔",
"save_to_downloads": "۔ﮟﯾﺮﮐ ﻅﻮﻔﺤﻣ ﮟﯿﻣ ﺯﮈﻮﻟ ﻥﺅﺍﮈ",
"save_to_pm": "پاس ورڈ مینیجر کو محفوظ کریں",
"saved_the_trade_id": "میں نے تجارتی ID محفوظ کر لی ہے۔",
"scan_qr_code": "پتہ حاصل کرنے کے لیے QR کوڈ اسکین کریں۔",
"scan_qr_code_to_get_address": "پتہ حاصل کرنے کے لئے QR کوڈ کو اسکین کریں",

View file

@ -531,6 +531,7 @@
"save_backup_password": "Ẹ jọ̀wọ́ dájú pé ẹ ti pamọ́ ọ̀rọ̀ aṣínà ti ẹ̀dà nípamọ́ yín. Ti ẹ kò bá ni í, ẹ kò lè ṣí àwọn àkọsílẹ̀ nípamọ́ yín.",
"save_backup_password_alert": "Pamọ́ ọ̀rọ̀ aṣínà ti ẹ̀dà",
"save_to_downloads": "Fipamọ si Awọn igbasilẹ",
"save_to_pm": "Fipamọ si oluṣakoso ọrọ igbaniwọle",
"saved_the_trade_id": "Mo ti pamọ́ àmì ìdánimọ̀ pàṣípààrọ̀",
"scan_qr_code": "Yan QR koodu",
"scan_qr_code_to_get_address": "Ṣayẹwo koodu QR naa lati gba adirẹsi naa",

View file

@ -530,6 +530,7 @@
"save_backup_password": "请确保您已保存备份密码。 沒有它,您将无法导入备份文件。",
"save_backup_password_alert": "保存备份密码",
"save_to_downloads": "保存到下载",
"save_to_pm": "保存到密码管理器",
"saved_the_trade_id": "我已经保存了交易编号",
"scan_qr_code": "扫描二维码",
"scan_qr_code_to_get_address": "扫描二维码获取地址",