ignore NoNullnessRewrite in proguard-rules.pro
OmarHatem committed
Aug 29, 2025 at 13:58 UTC
ec7b9ccb514f74170f755facf91cb11b0e457557
2 files changed
+2
-1
android/app/proguard-rules.pro
+1
@@ -7,6 +7,7 @@
7
-keep class io.flutter.plugins.** { *; }
8
-dontwarn io.flutter.embedding.**
9
-dontwarn com.google.android.play.core.splitcompat.SplitCompatApplication
10
+-dontwarn com.google.android.gms.common.annotation.NoNullnessRewrite
11
12
# start reown
13
-dontwarn com.github.luben.zstd.BufferPool
lib/view_model/dashboard/balance_view_model.dart
+1
-1
@@ -54,7 +54,7 @@ abstract class BalanceViewModelBase with Store {
54
BalanceViewModelBase(
55
{required this.appStore, required this.settingsStore, required this.fiatConvertationStore})
56
: isReversing = false,
57
- isShowCard = appStore.wallet!.walletInfo.isShowIntroCakePayCard,
57
+ isShowCard = appStore.wallet?.walletInfo.isShowIntroCakePayCard ?? false,
58
wallet = appStore.wallet! {
59
reaction((_) => appStore.wallet, (wallet) {
60
_onWalletChange(wallet);