mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
If subscription will cancel at end of period, then show the cancelled state.
This commit is contained in:
@@ -379,7 +379,7 @@ class BackupStateObserver(
|
||||
getStateOnError()
|
||||
} else {
|
||||
when {
|
||||
subscription.isCanceled && subscription.isActive -> {
|
||||
(subscription.isCanceled || subscription.willCancelAtPeriodEnd()) && subscription.isActive -> {
|
||||
Log.d(TAG, "[getPaidBackupState] Found a canceled subscription.")
|
||||
BackupState.Canceled(
|
||||
messageBackupsType = subscriberType,
|
||||
|
||||
Reference in New Issue
Block a user