mirror of
https://github.com/mollyim/mollyim-android.git
synced 2025-05-12 21:30:39 +01:00
Do not show update PIN megaphone on linked devices
This commit is contained in:
parent
a9fc77885b
commit
79893098c7
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ class UpdatePinAfterAepRegistrationSchedule : MegaphoneSchedule {
|
|||
override fun shouldDisplay(seenCount: Int, lastSeen: Long, firstVisible: Long, currentTime: Long): Boolean {
|
||||
return !SignalStore.svr.hasPin() &&
|
||||
!SignalStore.svr.hasOptedOut() &&
|
||||
!SignalStore.account.isLinkedDevice &&
|
||||
SignalStore.registration.isRegistrationComplete &&
|
||||
(!SignalStore.backup.isMediaRestoreInProgress || hasBeenLongEnough())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue