mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Room list notifications tweaks (#6106)
We decided against changing how unread activity is rendered in the room list, so the experiment and its developer option are no longer needed. we have also added a notification settings entry for hiding the room list gray dots.
This commit is contained in:
@@ -354,8 +354,8 @@ final nonisolated class AppSettings: @unchecked Sendable {
|
||||
|
||||
// MARK: - Home Screen
|
||||
|
||||
@UserPreference(defaultValue: RoomListActivityVisibility.current)
|
||||
var roomListActivityVisibility: RoomListActivityVisibility
|
||||
@UserPreference(defaultValue: true)
|
||||
var showAllRoomListActivity: Bool
|
||||
|
||||
// MARK: - Search Screen
|
||||
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
//
|
||||
// Copyright 2026 Element Creations Ltd.
|
||||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
nonisolated enum RoomListActivityVisibility: String, CaseIterable, Codable {
|
||||
/// Show unread badges for all unread messages (the default).
|
||||
case current
|
||||
/// Don't show badges but bold unread room names and their latest message
|
||||
case show
|
||||
/// Don't show badges and don't bold room names and messages
|
||||
case hide
|
||||
}
|
||||
Reference in New Issue
Block a user