Rename UserPushStoreFactory.create to UserPushStoreFactory.getOrCreate for code clarity.
This commit is contained in:
parent
75f1d2fdc0
commit
8971a6c0fb
11 changed files with 13 additions and 13 deletions
|
|
@ -48,7 +48,7 @@ class NotificationSettingsPresenter @Inject constructor(
|
|||
) : Presenter<NotificationSettingsState> {
|
||||
@Composable
|
||||
override fun present(): NotificationSettingsState {
|
||||
val userPushStore = remember { userPushStoreFactory.create(matrixClient.sessionId) }
|
||||
val userPushStore = remember { userPushStoreFactory.getOrCreate(matrixClient.sessionId) }
|
||||
val systemNotificationsEnabled: MutableState<Boolean> = remember {
|
||||
mutableStateOf(systemNotificationsEnabledProvider.notificationsEnabled())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue