From 29837d48fe7999aa6f16538cc4644f227113f86e Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 9 Dec 2021 23:37:06 +0100 Subject: [PATCH] Alerter is now on Jitpack --- build.gradle | 2 +- vector/build.gradle | 3 +-- .../java/im/vector/app/features/popup/PopupAlertManager.kt | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 19f83673fc..6dd36f9d35 100644 --- a/build.gradle +++ b/build.gradle @@ -52,6 +52,7 @@ allprojects { includeGroup 'com.github.chrisbanes' includeGroup 'com.github.hyuwah' includeGroup 'com.github.jetradarmobile' + includeGroup 'com.github.tapadoo' includeGroup 'com.github.vector-im' includeGroup 'com.github.yalantis' includeGroup 'com.github.Zhuinden' @@ -216,7 +217,6 @@ allprojects { includeGroup 'com.amulyakhare' includeGroup 'com.danikula' includeGroup 'com.otaliastudios' - includeGroup 'com.tapadoo.android' includeGroup 'com.yqritc' includeGroup 'dk.ilios' includeGroup 'im.dlg' diff --git a/vector/build.gradle b/vector/build.gradle index f2247efc77..6c519d5cea 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -415,8 +415,7 @@ dependencies { implementation 'com.arthenica:ffmpeg-kit-audio:4.5.LTS' // Alerter - // TODO 7.2.4 is available - implementation 'com.tapadoo.android:alerter:7.0.1' + implementation 'com.github.tapadoo:alerter:7.2.4' implementation 'com.otaliastudios:autocomplete:1.1.0' diff --git a/vector/src/main/java/im/vector/app/features/popup/PopupAlertManager.kt b/vector/src/main/java/im/vector/app/features/popup/PopupAlertManager.kt index f849d39bf8..22bbabf9e3 100644 --- a/vector/src/main/java/im/vector/app/features/popup/PopupAlertManager.kt +++ b/vector/src/main/java/im/vector/app/features/popup/PopupAlertManager.kt @@ -104,7 +104,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, null) + Alerter.clearCurrent(it, null, null) if (currentAlerter?.isLight == false) { setLightStatusBar() }