desktop restore date fix

This commit is contained in:
julian 2022-12-30 11:12:27 -06:00
parent 8f40275a14
commit c42ea26a3b

View file

@ -322,12 +322,17 @@ class _RestoreOptionsViewState extends ConsumerState<RestoreOptionsView> {
onTap: chooseDate, onTap: chooseDate,
controller: _dateController, controller: _dateController,
), ),
if (isDesktop) if (coin == Coin.monero ||
// TODO desktop date picker coin == Coin.epicCash ||
RestoreFromDatePicker( (coin == Coin.wownero &&
onTap: chooseDesktopDate, ref.watch(mnemonicWordCountStateProvider.state).state ==
controller: _dateController, 25))
), if (isDesktop)
// TODO desktop date picker
RestoreFromDatePicker(
onTap: chooseDesktopDate,
controller: _dateController,
),
if (coin == Coin.monero || if (coin == Coin.monero ||
coin == Coin.epicCash || coin == Coin.epicCash ||
(coin == Coin.wownero && (coin == Coin.wownero &&