Fix compile error.
This commit is contained in:
parent
0e6f7623ca
commit
117614d59d
2 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ internal class RoomNotificationSettingsStateProvider : PreviewParameterProvider<
|
|||
eventSink = { },
|
||||
),
|
||||
RoomNotificationSettingsState(
|
||||
showUserDefinedSettingStyle = false,
|
||||
roomName = "Room 1",
|
||||
Async.Success(RoomNotificationSettings(
|
||||
mode = RoomNotificationMode.MUTE,
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ fun RoomNotificationSettingsView(
|
|||
RoomSpecificNotificationSettingsView(
|
||||
state = state,
|
||||
modifier = modifier,
|
||||
onShowGlobalNotifications = onShowGlobalNotifications,
|
||||
onBackPressed = onBackPressed,
|
||||
)
|
||||
}
|
||||
|
|
@ -76,6 +77,7 @@ fun RoomNotificationSettingsView(
|
|||
private fun RoomSpecificNotificationSettingsView(
|
||||
state: RoomNotificationSettingsState,
|
||||
modifier: Modifier = Modifier,
|
||||
onShowGlobalNotifications: () -> Unit = {},
|
||||
onBackPressed: () -> Unit = {},
|
||||
) {
|
||||
Scaffold(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue