added fix for active indexed tokens + improved data structure for wallet description
This commit is contained in:
@@ -24,8 +24,10 @@ extension WalletDTOMapper on WalletDTO {
|
||||
balance: balance?.toDomain(),
|
||||
availableMoney: balance?.available?.toDomain(),
|
||||
describable: newDescribable(
|
||||
name: metadata?['name'] ?? 'Crypto Wallet',
|
||||
description: metadata?['description'],
|
||||
name: name.isNotEmpty ? name : (metadata?['name'] ?? 'Crypto Wallet'),
|
||||
description: (description != null && description!.isNotEmpty)
|
||||
? description
|
||||
: metadata?['description'],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user