mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
ac29354b08
* 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.
792 B
792 B
Tidy
Follow-ups that aren't worth their own PR yet. Do each item in one go, not piecemeal.
- Enterprise hook tests should use
EnterpriseESSServiceMock(configuration:)instead of the on-disk cache. TodayEnterpriseCreateRoomScreenHookTests,EnterpriseSecurityAndPrivacyScreenHookTests,EnterpriseUserSessionHookTestsand parts ofEnterpriseRemoteSettingsHookTestsseed a realEnterpriseESSServiceby writing anEnterpriseESSConfigurationtoURL.cachedESSConfigurationFile(for:), and each wipes.enterpriseApplicationSupportBaseDirectoryininit. Passing the mock removes the disk dependency and the shared-directory coupling. Switch all of them together so the pattern stays consistent, and leaveEnterpriseESSServiceTestsalone since the cache is what it tests.