mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Fix / prevent verification toaster to show when in good room
This commit is contained in:
parent
65cb812fc6
commit
0148949a4f
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ object PopupAlertManager {
|
|||
}
|
||||
currentAlerter = next
|
||||
next?.let {
|
||||
|
||||
if (next.shouldBeDisplayedIn?.invoke(currentActivity) == false) return
|
||||
val currentTime = System.currentTimeMillis()
|
||||
if (next.expirationTimestamp != null && currentTime > next.expirationTimestamp!!) {
|
||||
// skip
|
||||
|
|
Loading…
Reference in a new issue