mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 10:11:03 +00:00
add null check
This commit is contained in:
parent
fbc61403d8
commit
83e1a9f721
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class StackTheme {
|
||||||
} else {
|
} else {
|
||||||
_gradientBackground ??= GradientExt.fromJson(
|
_gradientBackground ??= GradientExt.fromJson(
|
||||||
Map<String, dynamic>.from(
|
Map<String, dynamic>.from(
|
||||||
jsonDecode(gradientBackgroundString) as Map,
|
jsonDecode(gradientBackgroundString!) as Map,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue