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
1 changed files with 1 additions and 1 deletions

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 // we want to remove existing popup on previous activity and display it on new one
if (currentAlerter != null) { if (currentAlerter != null) {
weakCurrentActivity?.get()?.let { weakCurrentActivity?.get()?.let {
Alerter.clearCurrent(it) Alerter.clearCurrent(it, null)
if (currentAlerter?.isLight == false) { if (currentAlerter?.isLight == false) {
setLightStatusBar() setLightStatusBar()
} }