mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +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…
Add table
Reference in a new issue