summaryrefslogtreecommitdiffhomepage
path: root/android/src
diff options
context:
space:
mode:
Diffstat (limited to 'android/src')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/ui/notification/InAppNotificationController.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/notification/InAppNotificationController.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/notification/InAppNotificationController.kt
index 3c1a62d925..a67cd7ea45 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/notification/InAppNotificationController.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/notification/InAppNotificationController.kt
@@ -9,7 +9,7 @@ class InAppNotificationController(private val onNotificationChanged: (InAppNotif
private var currentIndex: Int? = null
var current by observable<InAppNotification?>(null) { _, _, notification ->
- onNotificationChanged?.invoke(notification)
+ onNotificationChanged.invoke(notification)
}
fun register(notification: InAppNotification) {