kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix crash when user does not have a subscription.
rodzic
5c6f709faa
commit
f7e4e9c855
|
@ -41,7 +41,8 @@ class AppSettingsViewModel(
|
||||||
store.update { state ->
|
store.update { state ->
|
||||||
state.copy(allowUserToGoToDonationManagementScreen = activeSubscription.isActive || InAppDonations.hasAtLeastOnePaymentMethodAvailable())
|
state.copy(allowUserToGoToDonationManagementScreen = activeSubscription.isActive || InAppDonations.hasAtLeastOnePaymentMethodAvailable())
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
onError = {}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue