mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Move any visible account settings into AccountSettings. (#6308)
* Remove the now unused setting to disable in-app notifications. * Move visible account settings into AccountSettings. Have ignored enableNotifications for now as that will require reworking the NotificationManager. * Allow different sounds to be selected for each account. * Move defaultNotificationTone into AccountSettings.
This commit is contained in:
@@ -8692,6 +8692,11 @@ nonisolated class MediaProviderMock: MediaProviderProtocol, @unchecked Sendable
|
||||
}
|
||||
}
|
||||
nonisolated class NSEUserSessionMock: NSEUserSessionProtocol, @unchecked Sendable {
|
||||
var userSettings: UserSettings {
|
||||
get { return underlyingUserSettings }
|
||||
set(value) { underlyingUserSettings = value }
|
||||
}
|
||||
nonisolated(unsafe) var underlyingUserSettings: UserSettings!
|
||||
nonisolated(unsafe) var inviteAvatarsVisibilityCallsCount = 0
|
||||
var inviteAvatarsVisibilityCalled: Bool {
|
||||
return inviteAvatarsVisibilityCallsCount > 0
|
||||
|
||||
Reference in New Issue
Block a user