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