Fix / prevent verification toaster to show when in good room

This commit is contained in:
Valere 2020-01-23 16:13:46 +01:00
parent 65cb812fc6
commit 0148949a4f

View file

@ -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