mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
Fix for UnspentCoinsInfo Hive Box. Add checkbox for fixed rates for exchange.
This commit is contained in:
parent
63a0395c2d
commit
2e1f1e2c79
2 changed files with 7 additions and 4 deletions
|
@ -109,8 +109,11 @@ Future<void> main() async {
|
||||||
final templates = await Hive.openBox<Template>(Template.boxName);
|
final templates = await Hive.openBox<Template>(Template.boxName);
|
||||||
final exchangeTemplates =
|
final exchangeTemplates =
|
||||||
await Hive.openBox<ExchangeTemplate>(ExchangeTemplate.boxName);
|
await Hive.openBox<ExchangeTemplate>(ExchangeTemplate.boxName);
|
||||||
final unspentCoinsInfoSource =
|
Box<UnspentCoinsInfo> unspentCoinsInfoSource;
|
||||||
await Hive.openBox<UnspentCoinsInfo>(UnspentCoinsInfo.boxName);
|
|
||||||
|
if (!isMoneroOnly) {
|
||||||
|
unspentCoinsInfoSource = await Hive.openBox<UnspentCoinsInfo>(UnspentCoinsInfo.boxName);
|
||||||
|
}
|
||||||
|
|
||||||
await initialSetup(
|
await initialSetup(
|
||||||
sharedPreferences: await SharedPreferences.getInstance(),
|
sharedPreferences: await SharedPreferences.getInstance(),
|
||||||
|
|
|
@ -314,7 +314,7 @@ class ExchangePage extends BasePage {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
/*if (exchangeViewModel.isReceiveAmountEditable) Padding(
|
Padding(
|
||||||
padding: EdgeInsets.only(top: 12, left: 24),
|
padding: EdgeInsets.only(top: 12, left: 24),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
|
@ -328,7 +328,7 @@ class ExchangePage extends BasePage {
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
),*/
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.only(top: 30, left: 24, bottom: 24),
|
padding: EdgeInsets.only(top: 30, left: 24, bottom: 24),
|
||||||
child: Row(
|
child: Row(
|
||||||
|
|
Loading…
Reference in a new issue