mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 09:29:48 +00:00
feat: Remove ability to create haven wallets (#1273)
This commit is contained in:
parent
d83054eded
commit
efb41aa6bc
27 changed files with 96 additions and 54 deletions
|
@ -1,12 +1,14 @@
|
|||
import 'package:cake_wallet/generated/i18n.dart';
|
||||
import 'package:cake_wallet/src/screens/base_page.dart';
|
||||
import 'package:cake_wallet/src/screens/new_wallet/widgets/select_button.dart';
|
||||
import 'package:cake_wallet/src/screens/setup_2fa/widgets/popup_cancellable_alert.dart';
|
||||
import 'package:cake_wallet/src/widgets/primary_button.dart';
|
||||
import 'package:cake_wallet/src/widgets/scollable_with_bottom_section.dart';
|
||||
import 'package:cake_wallet/src/widgets/search_bar_widget.dart';
|
||||
import 'package:cake_wallet/themes/extensions/cake_text_theme.dart';
|
||||
import 'package:cake_wallet/themes/theme_base.dart';
|
||||
import 'package:cake_wallet/utils/responsive_layout_util.dart';
|
||||
import 'package:cake_wallet/utils/show_pop_up.dart';
|
||||
import 'package:cake_wallet/wallet_types.g.dart';
|
||||
import 'package:cw_core/wallet_type.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
@ -70,7 +72,8 @@ class WalletTypeFormState extends State<WalletTypeForm> {
|
|||
Widget build(BuildContext context) {
|
||||
return Center(
|
||||
child: ConstrainedBox(
|
||||
constraints: BoxConstraints(maxWidth: ResponsiveLayoutUtilBase.kDesktopMaxWidthConstraint),
|
||||
constraints:
|
||||
BoxConstraints(maxWidth: ResponsiveLayoutUtilBase.kDesktopMaxWidthConstraint),
|
||||
child: Column(
|
||||
children: [
|
||||
Padding(
|
||||
|
@ -128,6 +131,19 @@ class WalletTypeFormState extends State<WalletTypeForm> {
|
|||
throw Exception('Wallet Type is not selected yet.');
|
||||
}
|
||||
|
||||
if (selected == WalletType.haven) {
|
||||
return await showPopUp<void>(
|
||||
context: context,
|
||||
builder: (BuildContext context) {
|
||||
return PopUpCancellableAlertDialog(
|
||||
contentText: S.of(context).pause_wallet_creation,
|
||||
actionButtonText: S.of(context).ok,
|
||||
buttonAction: () => Navigator.of(context).pop(),
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
widget.onTypeSelected(context, selected!);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -756,11 +756,12 @@
|
|||
"dfx_option_description": "ﺎﺑﻭﺭﻭﺃ ﻲﻓ ﺕﺎﻛﺮﺸﻟﺍﻭ ﺔﺋﺰﺠﺘﻟﺍ ءﻼﻤﻌﻟ .ﻲﻓﺎﺿﺇ KYC ﻥﻭﺪﺑ ﻭﺭﻮﻳ 990 ﻰﻟﺇ ﻞﺼﻳ ﺎﻣ .ﻱﺮﺴﻳﻮﺴﻟﺍ",
|
||||
"polygonscan_history": "ﻥﺎﻜﺴﻧﻮﺠﻴﻟﻮﺑ ﺦﻳﺭﺎﺗ",
|
||||
"wallet_seed_legacy": "بذرة محفظة قديمة",
|
||||
"default_sell_provider": " ﻲﺿﺍﺮﺘﻓﻻﺍ ﻊﻴﺒﻟﺍ ﺩﻭﺰﻣ",
|
||||
"default_sell_provider": "ﻲﺿﺍﺮﺘﻓﻻﺍ ﻊﻴﺒﻟﺍ ﺩﻭﺰﻣ",
|
||||
"select_sell_provider_notice": ".ﻖﻴﺒﻄﺘﻟﺍ ﺕﺍﺩﺍﺪﻋﺇ ﻲﻓ ﻚﺑ ﺹﺎﺨﻟﺍ ﻲﺿﺍﺮﺘﻓﻻﺍ ﻊﻴﺒﻟﺍ ﺩﻭﺰﻣ ﻦﻴﻴﻌﺗ ﻖﻳﺮﻃ ﻦﻋ ﺔﺷﺎﺸﻟﺍ ﻩﺬﻫ ﻲﻄﺨﺗ",
|
||||
"custom_drag": "مخصص (عقد وسحب)",
|
||||
"switchToEVMCompatibleWallet": " (Ethereum، Polygon) ﻯﺮﺧﺃ ﺓﺮﻣ ﺔﻟﻭﺎﺤﻤﻟﺍﻭ EVM ﻊﻣ ﺔﻘﻓﺍﻮﺘﻣ ﺔﻈﻔﺤﻣ ﻰﻟﺇ ﻞﻳﺪﺒﺘﻟﺍ ﻰﺟﺮﻳ",
|
||||
"receivable_balance": "التوازن القادم",
|
||||
"confirmed_tx": "مؤكد",
|
||||
"transaction_details_source_address": "عنوان المصدر"
|
||||
"transaction_details_source_address": "عنوان المصدر",
|
||||
"pause_wallet_creation": ".ﺎﻴًﻟﺎﺣ ﺎﺘًﻗﺆﻣ ﺔﻔﻗﻮﺘﻣ Haven Wallet ءﺎﺸﻧﺇ ﻰﻠﻋ ﺓﺭﺪﻘﻟﺍ"
|
||||
}
|
|
@ -758,5 +758,6 @@
|
|||
"switchToEVMCompatibleWallet": "Моля, превключете към портфейл, съвместим с EVM, и опитайте отново (Ethereum, Polygon)",
|
||||
"receivable_balance": "Баланс за вземания",
|
||||
"confirmed_tx": "Потвърдено",
|
||||
"transaction_details_source_address": "Адрес на източника"
|
||||
"transaction_details_source_address": "Адрес на източника",
|
||||
"pause_wallet_creation": "Възможността за създаване на Haven Wallet в момента е на пауза."
|
||||
}
|
|
@ -758,5 +758,6 @@
|
|||
"switchToEVMCompatibleWallet": "Přepněte na peněženku kompatibilní s EVM a zkuste to znovu (Ethereum, Polygon)",
|
||||
"receivable_balance": "Zůstatek pohledávek",
|
||||
"confirmed_tx": "Potvrzeno",
|
||||
"transaction_details_source_address": "Zdrojová adresa"
|
||||
"transaction_details_source_address": "Zdrojová adresa",
|
||||
"pause_wallet_creation": "Možnost vytvářet Haven Wallet je momentálně pozastavena."
|
||||
}
|
|
@ -766,5 +766,6 @@
|
|||
"switchToEVMCompatibleWallet": "Bitte wechseln Sie zu einem EVM-kompatiblen Wallet und versuchen Sie es erneut (Ethereum, Polygon)",
|
||||
"receivable_balance": "Forderungsbilanz",
|
||||
"confirmed_tx": "Bestätigt",
|
||||
"transaction_details_source_address": "Quelladresse"
|
||||
"transaction_details_source_address": "Quelladresse",
|
||||
"pause_wallet_creation": "Die Möglichkeit, Haven Wallet zu erstellen, ist derzeit pausiert."
|
||||
}
|
|
@ -767,5 +767,6 @@
|
|||
"switchToEVMCompatibleWallet": "Please switch to an EVM compatible wallet and try again (Ethereum, Polygon)",
|
||||
"receivable_balance": "Receivable Balance",
|
||||
"confirmed_tx": "Confirmed",
|
||||
"transaction_details_source_address": "Source address"
|
||||
"transaction_details_source_address": "Source address",
|
||||
"pause_wallet_creation": "Ability to create Haven Wallet is currently paused."
|
||||
}
|
|
@ -766,5 +766,6 @@
|
|||
"switchToEVMCompatibleWallet": "Cambie a una billetera compatible con EVM e inténtelo nuevamente (Ethereum, Polygon)",
|
||||
"receivable_balance": "Saldo de cuentas por cobrar",
|
||||
"confirmed_tx": "Confirmado",
|
||||
"transaction_details_source_address": "Dirección de la fuente"
|
||||
"transaction_details_source_address": "Dirección de la fuente",
|
||||
"pause_wallet_creation": "La capacidad para crear Haven Wallet está actualmente pausada."
|
||||
}
|
|
@ -766,5 +766,6 @@
|
|||
"switchToEVMCompatibleWallet": "Veuillez passer à un portefeuille compatible EVM et réessayer (Ethereum, Polygon)",
|
||||
"receivable_balance": "Solde de créances",
|
||||
"confirmed_tx": "Confirmé",
|
||||
"transaction_details_source_address": "Adresse source"
|
||||
"transaction_details_source_address": "Adresse source",
|
||||
"pause_wallet_creation": "La possibilité de créer Haven Wallet est actuellement suspendue."
|
||||
}
|
|
@ -748,5 +748,6 @@
|
|||
"switchToEVMCompatibleWallet": "Da fatan za a canza zuwa walat ɗin EVM mai jituwa kuma a sake gwadawa (Ethereum, Polygon)",
|
||||
"receivable_balance": "Daidaituwa da daidaituwa",
|
||||
"confirmed_tx": "Tabbatar",
|
||||
"transaction_details_source_address": "Adireshin Incord"
|
||||
"transaction_details_source_address": "Adireshin Incord",
|
||||
"pause_wallet_creation": "A halin yanzu an dakatar da ikon ƙirƙirar Haven Wallet."
|
||||
}
|
|
@ -766,5 +766,6 @@
|
|||
"switchToEVMCompatibleWallet": "कृपया ईवीएम संगत वॉलेट पर स्विच करें और पुनः प्रयास करें (एथेरियम, पॉलीगॉन)",
|
||||
"receivable_balance": "प्राप्य शेष",
|
||||
"confirmed_tx": "की पुष्टि",
|
||||
"transaction_details_source_address": "स्रोत पता"
|
||||
"transaction_details_source_address": "स्रोत पता",
|
||||
"pause_wallet_creation": "हेवन वॉलेट बनाने की क्षमता फिलहाल रुकी हुई है।"
|
||||
}
|
|
@ -764,5 +764,6 @@
|
|||
"switchToEVMCompatibleWallet": "Prijeđite na novčanik kompatibilan s EVM-om i pokušajte ponovno (Ethereum, Polygon)",
|
||||
"receivable_balance": "Stanje potraživanja",
|
||||
"confirmed_tx": "Potvrđen",
|
||||
"transaction_details_source_address": "Adresa izvora"
|
||||
"transaction_details_source_address": "Adresa izvora",
|
||||
"pause_wallet_creation": "Mogućnost stvaranja novčanika Haven trenutno je pauzirana."
|
||||
}
|
|
@ -754,5 +754,6 @@
|
|||
"switchToEVMCompatibleWallet": "Silakan beralih ke dompet yang kompatibel dengan EVM dan coba lagi (Ethereum, Polygon)",
|
||||
"receivable_balance": "Saldo piutang",
|
||||
"confirmed_tx": "Dikonfirmasi",
|
||||
"transaction_details_source_address": "Alamat sumber"
|
||||
"transaction_details_source_address": "Alamat sumber",
|
||||
"pause_wallet_creation": "Kemampuan untuk membuat Haven Wallet saat ini dijeda."
|
||||
}
|
|
@ -766,5 +766,6 @@
|
|||
"switchToEVMCompatibleWallet": "Passa a un portafoglio compatibile con EVM e riprova (Ethereum, Polygon)",
|
||||
"receivable_balance": "Bilanciamento creditizio",
|
||||
"confirmed_tx": "Confermato",
|
||||
"transaction_details_source_address": "Indirizzo di partenza"
|
||||
"transaction_details_source_address": "Indirizzo di partenza",
|
||||
"pause_wallet_creation": "La possibilità di creare Haven Wallet è attualmente sospesa."
|
||||
}
|
|
@ -766,5 +766,6 @@
|
|||
"switchToEVMCompatibleWallet": "EVM 互換のウォレットに切り替えて再試行してください (イーサリアム、ポリゴン)",
|
||||
"receivable_balance": "売掛金残高",
|
||||
"confirmed_tx": "確認済み",
|
||||
"transaction_details_source_address": "ソースアドレス"
|
||||
"transaction_details_source_address": "ソースアドレス",
|
||||
"pause_wallet_creation": "Haven Wallet を作成する機能は現在一時停止されています。"
|
||||
}
|
|
@ -764,5 +764,6 @@
|
|||
"switchToEVMCompatibleWallet": "EVM 호환 지갑으로 전환 후 다시 시도해 주세요. (이더리움, 폴리곤)",
|
||||
"receivable_balance": "채권 잔액",
|
||||
"confirmed_tx": "확인",
|
||||
"transaction_details_source_address": "소스 주소"
|
||||
"transaction_details_source_address": "소스 주소",
|
||||
"pause_wallet_creation": "Haven Wallet 생성 기능이 현재 일시 중지되었습니다."
|
||||
}
|
|
@ -764,5 +764,6 @@
|
|||
"switchToEVMCompatibleWallet": "ကျေးဇူးပြု၍ EVM တွဲဖက်သုံးနိုင်သော ပိုက်ဆံအိတ်သို့ ပြောင်းပြီး ထပ်စမ်းကြည့်ပါ (Ethereum၊ Polygon)",
|
||||
"receivable_balance": "လက်ကျန်ငွေ",
|
||||
"confirmed_tx": "အတည်ပြုသည်",
|
||||
"transaction_details_source_address": "အရင်းအမြစ်လိပ်စာ"
|
||||
"transaction_details_source_address": "အရင်းအမြစ်လိပ်စာ",
|
||||
"pause_wallet_creation": "Haven Wallet ဖန်တီးနိုင်မှုကို လောလောဆယ် ခေတ္တရပ်ထားသည်။"
|
||||
}
|
|
@ -766,5 +766,6 @@
|
|||
"switchToEVMCompatibleWallet": "Schakel over naar een EVM-compatibele portemonnee en probeer het opnieuw (Ethereum, Polygon)",
|
||||
"receivable_balance": "Het saldo",
|
||||
"confirmed_tx": "Bevestigd",
|
||||
"transaction_details_source_address": "Bron adres"
|
||||
"transaction_details_source_address": "Bron adres",
|
||||
"pause_wallet_creation": "De mogelijkheid om Haven Wallet te maken is momenteel onderbroken."
|
||||
}
|
|
@ -766,5 +766,6 @@
|
|||
"switchToEVMCompatibleWallet": "Przejdź na portfel zgodny z EVM i spróbuj ponownie (Ethereum, Polygon)",
|
||||
"receivable_balance": "Saldo należności",
|
||||
"confirmed_tx": "Potwierdzony",
|
||||
"transaction_details_source_address": "Adres źródłowy"
|
||||
"transaction_details_source_address": "Adres źródłowy",
|
||||
"pause_wallet_creation": "Możliwość utworzenia Portfela Haven jest obecnie wstrzymana."
|
||||
}
|
|
@ -765,5 +765,6 @@
|
|||
"switchToEVMCompatibleWallet": "Mude para uma carteira compatível com EVM e tente novamente (Ethereum, Polygon)",
|
||||
"receivable_balance": "Saldo a receber",
|
||||
"confirmed_tx": "Confirmado",
|
||||
"transaction_details_source_address": "Endereço de Origem"
|
||||
"transaction_details_source_address": "Endereço de Origem",
|
||||
"pause_wallet_creation": "A capacidade de criar a Haven Wallet está atualmente pausada."
|
||||
}
|
|
@ -766,5 +766,6 @@
|
|||
"switchToEVMCompatibleWallet": "Пожалуйста, переключитесь на кошелек, совместимый с EVM, и повторите попытку (Ethereum, Polygon).",
|
||||
"receivable_balance": "Баланс дебиторской задолженности",
|
||||
"confirmed_tx": "Подтвержденный",
|
||||
"transaction_details_source_address": "Адрес источника"
|
||||
"transaction_details_source_address": "Адрес источника",
|
||||
"pause_wallet_creation": "Возможность создания Haven Wallet в настоящее время приостановлена."
|
||||
}
|
|
@ -764,5 +764,6 @@
|
|||
"switchToEVMCompatibleWallet": "โปรดเปลี่ยนไปใช้กระเป๋าเงินที่รองรับ EVM แล้วลองอีกครั้ง (Ethereum, Polygon)",
|
||||
"receivable_balance": "ยอดลูกหนี้",
|
||||
"confirmed_tx": "ซึ่งยืนยันแล้ว",
|
||||
"transaction_details_source_address": "ที่อยู่แหล่งกำเนิด"
|
||||
"transaction_details_source_address": "ที่อยู่แหล่งกำเนิด",
|
||||
"pause_wallet_creation": "ขณะนี้ความสามารถในการสร้าง Haven Wallet ถูกหยุดชั่วคราว"
|
||||
}
|
|
@ -760,5 +760,6 @@
|
|||
"switchToEVMCompatibleWallet": "Mangyaring lumipat sa isang EVM compatible na wallet at subukang muli (Ethereum, Polygon)",
|
||||
"receivable_balance": "Natatanggap na balanse",
|
||||
"confirmed_tx": "Nakumpirma",
|
||||
"transaction_details_source_address": "SOURCE ADDRESS"
|
||||
"transaction_details_source_address": "SOURCE ADDRESS",
|
||||
"pause_wallet_creation": "Kasalukuyang naka-pause ang kakayahang gumawa ng Haven Wallet."
|
||||
}
|
|
@ -764,5 +764,6 @@
|
|||
"switchToEVMCompatibleWallet": "Lütfen EVM uyumlu bir cüzdana geçin ve tekrar deneyin (Ethereum, Polygon)",
|
||||
"receivable_balance": "Alacak bakiyesi",
|
||||
"confirmed_tx": "Onaylanmış",
|
||||
"transaction_details_source_address": "Kaynak adresi"
|
||||
"transaction_details_source_address": "Kaynak adresi",
|
||||
"pause_wallet_creation": "Haven Cüzdanı oluşturma yeteneği şu anda duraklatıldı."
|
||||
}
|
|
@ -766,5 +766,6 @@
|
|||
"switchToEVMCompatibleWallet": "Перейдіть на гаманець, сумісний з EVM, і повторіть спробу (Ethereum, Polygon)",
|
||||
"receivable_balance": "Баланс дебіторської заборгованості",
|
||||
"confirmed_tx": "Підтверджений",
|
||||
"transaction_details_source_address": "Адреса джерела"
|
||||
"transaction_details_source_address": "Адреса джерела",
|
||||
"pause_wallet_creation": "Можливість створення гаманця Haven зараз призупинено."
|
||||
}
|
|
@ -758,5 +758,6 @@
|
|||
"switchToEVMCompatibleWallet": "(Ethereum, Polygon) ﮟﯾﺮﮐ ﺶﺷﻮﮐ ﮦﺭﺎﺑﻭﺩ ﺭﻭﺍ ﮟﯾﺮﮐ ﭻﺋﻮﺳ ﺮﭘ ﭧﯿﻟﺍﻭ ﮯﻟﺍﻭ ﮯﻨﮭﮐﺭ ﺖﻘﺑﺎﻄﻣ ",
|
||||
"receivable_balance": "قابل وصول توازن",
|
||||
"confirmed_tx": "تصدیق",
|
||||
"transaction_details_source_address": "ماخذ ایڈریس"
|
||||
"transaction_details_source_address": "ماخذ ایڈریس",
|
||||
"pause_wallet_creation": "Haven Wallet ۔ﮯﮨ ﻑﻮﻗﻮﻣ ﻝﺎﺤﻟﺍ ﯽﻓ ﺖﯿﻠﮨﺍ ﯽﮐ ﮯﻧﺎﻨﺑ"
|
||||
}
|
|
@ -760,5 +760,6 @@
|
|||
"switchToEVMCompatibleWallet": "Jọwọ yipada si apamọwọ ibaramu EVM ki o tun gbiyanju lẹẹkansi (Ethereum, Polygon)",
|
||||
"receivable_balance": "Iwontunws.funfun ti o gba",
|
||||
"confirmed_tx": "Jẹrisi",
|
||||
"transaction_details_source_address": "Adirẹsi orisun"
|
||||
"transaction_details_source_address": "Adirẹsi orisun",
|
||||
"pause_wallet_creation": "Agbara lati ṣẹda Haven Wallet ti wa ni idaduro lọwọlọwọ."
|
||||
}
|
|
@ -765,5 +765,6 @@
|
|||
"switchToEVMCompatibleWallet": "请切换到 EVM 兼容钱包并重试(以太坊、Polygon)",
|
||||
"receivable_balance": "应收余额",
|
||||
"confirmed_tx": "确认的",
|
||||
"transaction_details_source_address": "源地址"
|
||||
"transaction_details_source_address": "源地址",
|
||||
"pause_wallet_creation": "创建 Haven 钱包的功能当前已暂停。"
|
||||
}
|
Loading…
Reference in a new issue