Fix compile error.

This commit is contained in:
David Langley
2023-10-24 17:14:48 +01:00
parent 869e420c49
commit f2e7f9c750
2 changed files with 3 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ internal class RoomNotificationSettingsStateProvider : PreviewParameterProvider<
eventSink = { },
),
RoomNotificationSettingsState(
showUserDefinedSettingStyle = false,
roomName = "Room 1",
Async.Success(RoomNotificationSettings(
mode = RoomNotificationMode.MUTE,

View File

@@ -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(