mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-23 06:38:35 +02:00
CW-260 show amount received for each account (#907)
* Show amount received for each account * Enable litcoin send all * disable litcoin send all * Indent code * Fix large font resolution for account title
This commit is contained in:
+3
-2
@@ -158,9 +158,10 @@ import 'package:cw_monero/pending_monero_transaction.dart';
|
||||
const moneroCwPart = "part 'cw_monero.dart';";
|
||||
const moneroContent = """
|
||||
class Account {
|
||||
Account({required this.id, required this.label});
|
||||
Account({required this.id, required this.label, this.balance});
|
||||
final int id;
|
||||
final String label;
|
||||
final String? balance;
|
||||
}
|
||||
|
||||
class Subaddress {
|
||||
@@ -246,7 +247,7 @@ abstract class Monero {
|
||||
double formatterMoneroAmountToDouble({required int amount});
|
||||
int formatterMoneroParseAmount({required String amount});
|
||||
Account getCurrentAccount(Object wallet);
|
||||
void setCurrentAccount(Object wallet, int id, String label);
|
||||
void setCurrentAccount(Object wallet, int id, String label, String? balance);
|
||||
void onStartup();
|
||||
int getTransactionInfoAccountId(TransactionInfo tx);
|
||||
WalletService createMoneroWalletService(Box<WalletInfo> walletInfoSource);
|
||||
|
||||
Reference in New Issue
Block a user