mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Allow displaying only unread notifications (#7803)
* Allow displaying only unread notifications Add `FeatureFlags.ShowAllActivityInRoomList` (enabled by default, to match the current behavior) that, when disabled, will display the unread messages of a room instead of unread notifications if no unread notifications are found * Restore UI changes to the badges, `RoomSummaryRow` and `HorizontalFloatingToolbar` * Fix `NavigationBarIcon`: use `BadgeBox` component. * Adjust padding in `RoomSummaryRow` to 6.dp * Fix other indicators not displaying a dot anymore * Update screenshots --------- Co-authored-by: ElementBot <android@element.io>
This commit is contained in:
committed by
GitHub
parent
a3ff7e1486
commit
2dd0a47eb4
+9
@@ -169,4 +169,13 @@ enum class FeatureFlags(
|
||||
defaultValue = { false },
|
||||
isFinished = false,
|
||||
),
|
||||
ShowAllActivityInRoomList(
|
||||
key = "feature.show_all_activity_in_room_list",
|
||||
title = "Show all activity in room list",
|
||||
description = "Show all activity indicators in the room list, using unread messages instead of notifications.",
|
||||
defaultValue = { true },
|
||||
// To hide it from the developer options, since it's displayed in the notification settings instead
|
||||
isFinished = true,
|
||||
isInLabs = false,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user