Merge branch 'wownero' of https://github.com/cake-tech/cake_wallet into wownero_breez

This commit is contained in:
OmarHatem 2024-06-30 15:05:49 +03:00
commit 287e3223bb
2 changed files with 2 additions and 4 deletions

View file

@ -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) {

View file

@ -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,