mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
Merge branch 'wownero' of https://github.com/cake-tech/cake_wallet into wownero_breez
This commit is contained in:
commit
287e3223bb
2 changed files with 2 additions and 4 deletions
|
@ -10,7 +10,7 @@ class SeedType extends EnumerableItem<int> with Serializable<int> {
|
|||
|
||||
static const legacy = SeedType(raw: 0, title: 'Legacy (25 words)');
|
||||
static const polyseed = SeedType(raw: 1, title: 'Polyseed (16 words)');
|
||||
static const wowneroSeed = SeedType(raw: 1, title: 'Wownero (14 words)');
|
||||
static const wowneroSeed = SeedType(raw: 2, title: 'Wownero (14 words)');
|
||||
|
||||
static SeedType deserialize({required int raw}) {
|
||||
switch (raw) {
|
||||
|
|
|
@ -209,9 +209,7 @@ class WalletRestoreFromSeedFormState extends State<WalletRestoreFromSeedForm> {
|
|||
),
|
||||
),
|
||||
),
|
||||
if ((!isPolyseed) &&
|
||||
widget.displayBlockHeightSelector &&
|
||||
(widget.type == WalletType.wownero && !seedTypeController.value.text.contains("14")))
|
||||
if ((!isPolyseed) && widget.displayBlockHeightSelector)
|
||||
BlockchainHeightWidget(
|
||||
focusNode: widget.blockHeightFocusNode,
|
||||
key: blockchainHeightKey,
|
||||
|
|
Loading…
Reference in a new issue