mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
Introduce a local mechanism for managing the app's badge count
This commit is contained in:
@@ -36,6 +36,8 @@ struct ClientProxyMockConfiguration {
|
||||
|
||||
var maxMediaUploadSize: UInt = 100 * 1024 * 1024
|
||||
|
||||
var totalUnreadNotifications: UInt64 = 0
|
||||
|
||||
class Overrides {
|
||||
var joinedRoomIDs: Set<String> = []
|
||||
}
|
||||
@@ -56,6 +58,8 @@ extension ClientProxyMock {
|
||||
homeserver = configuration.homeserver
|
||||
userIDServerName = configuration.userIDServerName
|
||||
|
||||
totalUnreadNotifications = configuration.totalUnreadNotifications
|
||||
|
||||
roomSummaryProvider = configuration.roomSummaryProvider
|
||||
alternateRoomSummaryProvider = RoomSummaryProviderMock(.init())
|
||||
staticRoomSummaryProvider = RoomSummaryProviderMock(.init())
|
||||
|
||||
Reference in New Issue
Block a user