Fix compilation issue after upgrade of alerter from 5.1.2 to 7.0.1

This commit is contained in:
Benoit Marty 2021-02-21 16:20:57 +01:00
parent 76923ad88a
commit f617a8d77f

View File

@ -99,7 +99,7 @@ class PopupAlertManager @Inject constructor() {
// we want to remove existing popup on previous activity and display it on new one
if (currentAlerter != null) {
weakCurrentActivity?.get()?.let {
Alerter.clearCurrent(it)
Alerter.clearCurrent(it, null)
if (currentAlerter?.isLight == false) {
setLightStatusBar()
}