mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-06-02 14:36:09 +00:00
android: fix FOSS upgraded being written false on app launch
fixes #610
This commit is contained in:
@@ -179,7 +179,7 @@ class AirPodsViewModel(
|
||||
if (premium) {
|
||||
sharedPreferences.edit {
|
||||
remove("premium_expiry_time")
|
||||
remove("foss_upgraded")
|
||||
if (BuildConfig.PLAY_BUILD) remove("foss_upgraded")
|
||||
}
|
||||
_uiState.update { it.copy(isPremium = true, timeUntilFOSSPremiumExpiry = 0L) }
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user