mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-02 03:06:35 +00:00
CWA-204 | moved seed locales from seed language picker to new wallet page; disabled bitcoin currency button on new wallet type page
This commit is contained in:
parent
4a3615f83f
commit
743189669b
3 changed files with 12 additions and 12 deletions
|
@ -61,6 +61,17 @@ class _WalletNameFormState extends State<WalletNameForm> {
|
||||||
final walletCreationStore = Provider.of<WalletCreationStore>(context);
|
final walletCreationStore = Provider.of<WalletCreationStore>(context);
|
||||||
final seedLanguageStore = Provider.of<SeedLanguageStore>(context);
|
final seedLanguageStore = Provider.of<SeedLanguageStore>(context);
|
||||||
|
|
||||||
|
final List<String> seedLocales = [
|
||||||
|
S.current.seed_language_english,
|
||||||
|
S.current.seed_language_chinese,
|
||||||
|
S.current.seed_language_dutch,
|
||||||
|
S.current.seed_language_german,
|
||||||
|
S.current.seed_language_japanese,
|
||||||
|
S.current.seed_language_portuguese,
|
||||||
|
S.current.seed_language_russian,
|
||||||
|
S.current.seed_language_spanish
|
||||||
|
];
|
||||||
|
|
||||||
nameController.addListener(() {
|
nameController.addListener(() {
|
||||||
if (nameController.text.isNotEmpty) {
|
if (nameController.text.isNotEmpty) {
|
||||||
walletCreationStore.setDisabledStatus(false);
|
walletCreationStore.setDisabledStatus(false);
|
||||||
|
|
|
@ -89,7 +89,7 @@ class WalletTypeFormState extends State<WalletTypeForm> {
|
||||||
text: 'Bitcoin',
|
text: 'Bitcoin',
|
||||||
color: bitcoinBackgroundColor,
|
color: bitcoinBackgroundColor,
|
||||||
textColor: bitcoinTextColor,
|
textColor: bitcoinTextColor,
|
||||||
onTap: () => onSelectBitcoinButton()),
|
onTap: () {}),
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.only(top: 20),
|
padding: EdgeInsets.only(top: 20),
|
||||||
|
|
|
@ -6,17 +6,6 @@ import 'package:provider/provider.dart';
|
||||||
import 'package:cake_wallet/src/stores/seed_language/seed_language_store.dart';
|
import 'package:cake_wallet/src/stores/seed_language/seed_language_store.dart';
|
||||||
import 'package:cake_wallet/generated/i18n.dart';
|
import 'package:cake_wallet/generated/i18n.dart';
|
||||||
|
|
||||||
List<String> seedLocales = [
|
|
||||||
S.current.seed_language_english,
|
|
||||||
S.current.seed_language_chinese,
|
|
||||||
S.current.seed_language_dutch,
|
|
||||||
S.current.seed_language_german,
|
|
||||||
S.current.seed_language_japanese,
|
|
||||||
S.current.seed_language_portuguese,
|
|
||||||
S.current.seed_language_russian,
|
|
||||||
S.current.seed_language_spanish
|
|
||||||
];
|
|
||||||
|
|
||||||
List<Image> flagImages = [
|
List<Image> flagImages = [
|
||||||
Image.asset('assets/images/usa.png'),
|
Image.asset('assets/images/usa.png'),
|
||||||
Image.asset('assets/images/china.png'),
|
Image.asset('assets/images/china.png'),
|
||||||
|
|
Loading…
Reference in a new issue