We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 700c93e commit 5b7a72bCopy full SHA for 5b7a72b
app/src/main/kotlin/com/glodanif/bluetoothchat/di/DataModules.kt
@@ -32,7 +32,7 @@ val localStorageModule = module {
32
val viewModule = module {
33
single { NotificationViewImpl(androidContext()) as NotificationView }
34
single { ShortcutManagerImpl(androidContext()) as ShortcutManager }
35
- single { ContactConverter() }
36
- single { ConversationConverter(androidContext()) }
37
- single { ChatMessageConverter(androidContext()) }
+ factory { ContactConverter() }
+ factory { ConversationConverter(androidContext()) }
+ factory { ChatMessageConverter(androidContext()) }
38
}
0 commit comments