mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-23 11:04:33 +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 {
|
||||
_gradientBackground ??= GradientExt.fromJson(
|
||||
Map<String, dynamic>.from(
|
||||
jsonDecode(gradientBackgroundString) as Map,
|
||||
jsonDecode(gradientBackgroundString!) as Map,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue