mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Add a shared NotificationCountBadge view
Extract the unread notification count capsule from the room list cell into its own view so it can be reused elsewhere. It caps the displayed value at 99+ and comes in a medium size (used by the room list) and a small size.
This commit is contained in:
@@ -407,6 +407,10 @@ extension AccessibilityTests {
|
||||
try await performAccessibilityAudit(named: "NoticeRoomTimelineView_Previews")
|
||||
}
|
||||
|
||||
func testNotificationCountBadge() async throws {
|
||||
try await performAccessibilityAudit(named: "NotificationCountBadge_Previews")
|
||||
}
|
||||
|
||||
func testNotificationPermissionsScreen() async throws {
|
||||
try await performAccessibilityAudit(named: "NotificationPermissionsScreen_Previews")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user