mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +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 legacy = SeedType(raw: 0, title: 'Legacy (25 words)');
|
||||||
static const polyseed = SeedType(raw: 1, title: 'Polyseed (16 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}) {
|
static SeedType deserialize({required int raw}) {
|
||||||
switch (raw) {
|
switch (raw) {
|
||||||
|
|
|
@ -209,9 +209,7 @@ class WalletRestoreFromSeedFormState extends State<WalletRestoreFromSeedForm> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if ((!isPolyseed) &&
|
if ((!isPolyseed) && widget.displayBlockHeightSelector)
|
||||||
widget.displayBlockHeightSelector &&
|
|
||||||
(widget.type == WalletType.wownero && !seedTypeController.value.text.contains("14")))
|
|
||||||
BlockchainHeightWidget(
|
BlockchainHeightWidget(
|
||||||
focusNode: widget.blockHeightFocusNode,
|
focusNode: widget.blockHeightFocusNode,
|
||||||
key: blockchainHeightKey,
|
key: blockchainHeightKey,
|
||||||
|
|
Loading…
Reference in a new issue