mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-25 05:58:42 +01:00
Cw 55 allow saving templateswith fiat amount (#343)
* added xhv logo * Added prefix icon widget * Added sending fiat template * template for sending selected fiat currency * fix issues
This commit is contained in:
@@ -4,7 +4,7 @@ part 'template.g.dart';
|
||||
|
||||
@HiveType(typeId: Template.typeId)
|
||||
class Template extends HiveObject {
|
||||
Template({this.name, this.address, this.cryptoCurrency, this.amount});
|
||||
Template({this.name,this.isCurrencySelected, this.address, this.cryptoCurrency, this.amount, this.fiatCurrency, this.amountFiat});
|
||||
|
||||
static const typeId = 6;
|
||||
static const boxName = 'Template';
|
||||
@@ -20,4 +20,14 @@ class Template extends HiveObject {
|
||||
|
||||
@HiveField(3)
|
||||
String amount;
|
||||
}
|
||||
|
||||
@HiveField(4)
|
||||
String fiatCurrency;
|
||||
|
||||
@HiveField(5)
|
||||
bool isCurrencySelected;
|
||||
|
||||
@HiveField(6)
|
||||
String amountFiat;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user