mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +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:
@@ -106,6 +106,7 @@ enum TestablePreviewsDictionary {
|
||||
"ModerationAndSafetySettingsScreen_Previews" : ModerationAndSafetySettingsScreen_Previews.self,
|
||||
"MultiAccountAnnouncementView_Previews" : MultiAccountAnnouncementView_Previews.self,
|
||||
"NoticeRoomTimelineView_Previews" : NoticeRoomTimelineView_Previews.self,
|
||||
"NotificationCountBadge_Previews" : NotificationCountBadge_Previews.self,
|
||||
"NotificationPermissionsScreen_Previews" : NotificationPermissionsScreen_Previews.self,
|
||||
"NotificationSettingsEditScreenRoomCell_Previews" : NotificationSettingsEditScreenRoomCell_Previews.self,
|
||||
"NotificationSettingsEditScreen_Previews" : NotificationSettingsEditScreen_Previews.self,
|
||||
|
||||
Reference in New Issue
Block a user