Enabled NotificationSettings by default, Fix spacing, use activeMemberCount for isOneToOne.
- Enabled Notification Settings by default - Fix spacing - Use activeMemberCount for isOneToOne
This commit is contained in:
parent
48e24a0b6a
commit
5e8cb958f8
5 changed files with 4 additions and 7 deletions
|
|
@ -70,7 +70,6 @@ class PreferencesFlowNode @AssistedInject constructor(
|
|||
data object AnalyticsSettings : NavTarget
|
||||
|
||||
@Parcelize
|
||||
|
||||
data object About : NavTarget
|
||||
|
||||
@Parcelize
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ import io.element.android.libraries.designsystem.utils.OnLifecycleEvent
|
|||
import io.element.android.libraries.matrix.api.room.RoomNotificationMode
|
||||
import io.element.android.libraries.theme.ElementTheme
|
||||
import io.element.android.libraries.ui.strings.CommonStrings
|
||||
|
||||
@Composable
|
||||
fun NotificationSettingsView(
|
||||
state: NotificationSettingsState,
|
||||
|
|
@ -166,7 +167,6 @@ private fun NotificationSettingsContentView(
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@Composable
|
||||
private fun getTitleForRoomNotificationMode(mode: RoomNotificationMode?) =
|
||||
when(mode) {
|
||||
|
|
@ -246,7 +246,6 @@ private fun ContentToPreview(state: NotificationSettingsState) {
|
|||
)
|
||||
}
|
||||
|
||||
|
||||
@Preview
|
||||
@Composable
|
||||
internal fun InvalidNotificationSettingsViewightPreview() =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue