From e0cef811181ba58c8e6c450c6155a1042d51b476 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 15 Sep 2023 15:11:22 +0200 Subject: [PATCH] No need to force `DefaultNotificationDrawerManager` receiver for this private fun. --- .../push/impl/notifications/DefaultNotificationDrawerManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/DefaultNotificationDrawerManager.kt b/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/DefaultNotificationDrawerManager.kt index db198bd138..0fbd28aa3b 100644 --- a/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/DefaultNotificationDrawerManager.kt +++ b/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/DefaultNotificationDrawerManager.kt @@ -222,7 +222,7 @@ class DefaultNotificationDrawerManager @Inject constructor( private fun updateEvents( doRender: Boolean, - action: DefaultNotificationDrawerManager.(NotificationEventQueue) -> Unit, + action: (NotificationEventQueue) -> Unit, ) { notificationState.updateQueuedEvents(this) { queuedEvents, _ -> action(queuedEvents)