mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-28 01:58:46 +00:00
null error fix for themes that don't have coin card images
This commit is contained in:
parent
ed120f552a
commit
ae75867381
1 changed files with 6 additions and 4 deletions
|
@ -2347,10 +2347,12 @@ class ThemeAssetsV3 implements IThemeAssets {
|
|||
|
||||
@ignore
|
||||
Map<Coin, String>? get coinCardImages =>
|
||||
_coinCardImages ??= parseCoinAssetsString(
|
||||
coinCardImagesString!,
|
||||
placeHolder: coinPlaceholder,
|
||||
);
|
||||
_coinCardImages ??= coinCardImagesString == null
|
||||
? null
|
||||
: parseCoinAssetsString(
|
||||
coinCardImagesString!,
|
||||
placeHolder: coinPlaceholder,
|
||||
);
|
||||
@ignore
|
||||
Map<Coin, String>? _coinCardImages;
|
||||
late final String? coinCardImagesString;
|
||||
|
|
Loading…
Reference in a new issue