Skip to content
Snippets Groups Projects
Verified Commit 94d2a3b7 authored by Sebastian's avatar Sebastian
Browse files

Fix problem with MessageCounter injection

In BriarUI we were injecting MessageCounterImpl instead of
MessageCounter, resulting in two different instances of
MessageCounterImpl in different places, effectively not having a
singleton any longer.
parent 227dfcfa
No related branches found
No related tags found
1 merge request!322Fix problem with MessageCounter injection
Pipeline #13926 passed
...@@ -102,7 +102,7 @@ constructor( ...@@ -102,7 +102,7 @@ constructor(
private val configuration: Configuration, private val configuration: Configuration,
private val visualNotificationProvider: VisualNotificationProvider, private val visualNotificationProvider: VisualNotificationProvider,
private val soundNotificationProvider: SoundNotificationProvider, private val soundNotificationProvider: SoundNotificationProvider,
private val messageCounter: MessageCounterImpl, private val messageCounter: MessageCounter,
) : BriarUi { ) : BriarUi {
private var screenState by mutableStateOf( private var screenState by mutableStateOf(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment