Fix crash when user does not have a subscription.

This commit is contained in:
Alex Hart
2022-11-14 09:59:09 -04:00
parent 5c6f709faa
commit f7e4e9c855

View File

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