Commit Graph

24 Commits

Author SHA1 Message Date
Alfonso Grillo d269fb726d Add NotificationPushRuleType.pushRuleId 2023-02-02 15:18:52 +01:00
Alfonso Grillo d52aa20c9b Refactor PushRulesUpdater 2023-02-02 12:08:55 +01:00
Alfonso Grillo 3f5beece27 Add error handling for push sync 2023-02-01 11:38:38 +01:00
Alfonso Grillo 4637562c09 Cleanup 2023-02-01 11:28:48 +01:00
Alfonso Grillo 47c6a34bb4 Async-await refactor 2023-02-01 10:47:11 +01:00
Alfonso Grillo 0497927953 Improve tests 2023-01-30 19:15:47 +01:00
Alfonso Grillo 857aa98430 Add UTs 2023-01-30 19:15:47 +01:00
Alfonso Grillo c8ace35b0a Add comment 2023-01-30 19:15:47 +01:00
Alfonso Grillo 52eadbbb7b Add loudest option logic 2023-01-30 19:15:47 +01:00
Alfonso Grillo c708c61d0d Cleanup 2023-01-30 19:15:47 +01:00
Alfonso Grillo 6f5012a38f Add Task to update rules 2023-01-30 19:15:47 +01:00
Alfonso Grillo fff2d6f5e5 Refine poll push rule sync logic 2023-01-30 19:15:47 +01:00
Alfonso Grillo 921152e219 Start poll push rule sync logic 2023-01-30 19:15:47 +01:00
Alfonso Grillo 0b71460061 Create private extension of NotificationSettingsViewModel 2023-01-30 19:15:47 +01:00
Alfonso Grillo c295cf88bb Update NotificationSettingsServiceType 2023-01-30 19:15:47 +01:00
Alfonso Grillo 0e8c78be07 Add missing NotificationPushRuleIds 2023-01-30 19:15:47 +01:00
Alfonso Grillo ddf2693865 Add calls to update polls rules 2023-01-30 19:15:47 +01:00
Alfonso Grillo 861cebd9d0 Add updatePushActions(for:enabled:standardActions) method 2023-01-30 19:15:47 +01:00
Alfonso Grillo d1cc076ab9 Cleanup code 2023-01-30 19:15:47 +01:00
Stefan Ceriu 89bcd92cca Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Johannes Marbach df048803ef Remove all @available(iOS 14... annotations 2022-06-23 09:47:38 +02:00
David Langley 2d2c67a402 Update RiotSwiftUI symbols to triple slash documentation style with function annotations. 2021-09-13 11:36:33 +01:00
David Langley 007e0a8b6f Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
David Langley f4cb404df0 Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00