Fix for UnspentCoinsInfo Hive Box. Add checkbox for fixed rates for exchange.

This commit is contained in:
M 2022-01-24 16:12:25 +02:00
parent 63a0395c2d
commit 2e1f1e2c79
2 changed files with 7 additions and 4 deletions

View file

@ -109,8 +109,11 @@ Future<void> main() async {
final templates = await Hive.openBox<Template>(Template.boxName);
final exchangeTemplates =
await Hive.openBox<ExchangeTemplate>(ExchangeTemplate.boxName);
final unspentCoinsInfoSource =
await Hive.openBox<UnspentCoinsInfo>(UnspentCoinsInfo.boxName);
Box<UnspentCoinsInfo> unspentCoinsInfoSource;
if (!isMoneroOnly) {
unspentCoinsInfoSource = await Hive.openBox<UnspentCoinsInfo>(UnspentCoinsInfo.boxName);
}
await initialSetup(
sharedPreferences: await SharedPreferences.getInstance(),

View file

@ -314,7 +314,7 @@ class ExchangePage extends BasePage {
],
),
),
/*if (exchangeViewModel.isReceiveAmountEditable) Padding(
Padding(
padding: EdgeInsets.only(top: 12, left: 24),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
@ -328,7 +328,7 @@ class ExchangePage extends BasePage {
),
],
)
),*/
),
Padding(
padding: EdgeInsets.only(top: 30, left: 24, bottom: 24),
child: Row(