Browse Source

Fix typo and preview

pull/1621/head
David Langley 11 months ago
parent
commit
f1cf9b6e31
  1. 1
      features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/notifications/edit/EditDefaultNotificationSettingStateProvider.kt
  2. 2
      features/roomdetails/impl/src/main/kotlin/io/element/android/features/roomdetails/impl/RoomDetailsFlowNode.kt

1
features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/notifications/edit/EditDefaultNotificationSettingStateProvider.kt

@ -47,5 +47,6 @@ private fun aRoomSummary() = RoomSummary.Filled( @@ -47,5 +47,6 @@ private fun aRoomSummary() = RoomSummary.Filled(
lastMessage = null,
lastMessageTimestamp = null,
unreadNotificationCount = 0,
notificationMode = RoomNotificationMode.MENTIONS_AND_KEYWORDS_ONLY,
)
)

2
features/roomdetails/impl/src/main/kotlin/io/element/android/features/roomdetails/impl/RoomDetailsFlowNode.kt

@ -70,7 +70,7 @@ class RoomDetailsFlowNode @AssistedInject constructor( @@ -70,7 +70,7 @@ class RoomDetailsFlowNode @AssistedInject constructor(
@Parcelize
data class RoomNotificationSettings(
/**
* When presented from oursite the context of the room, the rooms settings UI is different.
* When presented from outsite the context of the room, the rooms settings UI is different.
* Figma designs: https://www.figma.com/file/0MMNu7cTOzLOlWb7ctTkv3/Element-X?type=design&node-id=5199-198932&mode=design&t=fTTvpuxYFjewYQOe-0
*/
val showUserDefinedSettingStyle: Boolean

Loading…
Cancel
Save