Fix crash when user does not have a subscription.

main
Alex Hart 2022-11-14 09:59:09 -04:00
rodzic 5c6f709faa
commit f7e4e9c855
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -41,7 +41,8 @@ class AppSettingsViewModel(
store.update { state ->
state.copy(allowUserToGoToDonationManagementScreen = activeSubscription.isActive || InAppDonations.hasAtLeastOnePaymentMethodAvailable())
}
}
},
onError = {}
)
}