Commit Graph

24 Commits

Author SHA1 Message Date
Alfonso Grillo ddc268b01e Add NotificationPushRuleType.pushRuleId 2023-02-02 15:18:52 +01:00
Alfonso Grillo a3d4a66d1a Refactor PushRulesUpdater 2023-02-02 12:08:55 +01:00
Alfonso Grillo 2b70ef843e Add error handling for push sync 2023-02-01 11:38:38 +01:00
Alfonso Grillo 1d94c4776d Cleanup 2023-02-01 11:28:48 +01:00
Alfonso Grillo 6fd560d735 Async-await refactor 2023-02-01 10:47:11 +01:00
Alfonso Grillo 9eedb8fe79 Improve tests 2023-01-30 19:15:47 +01:00
Alfonso Grillo 1332322df9 Add UTs 2023-01-30 19:15:47 +01:00
Alfonso Grillo ce6799f1b1 Add comment 2023-01-30 19:15:47 +01:00
Alfonso Grillo ba7466641f Add loudest option logic 2023-01-30 19:15:47 +01:00
Alfonso Grillo 160b860241 Cleanup 2023-01-30 19:15:47 +01:00
Alfonso Grillo ed64e8ed6d Add Task to update rules 2023-01-30 19:15:47 +01:00
Alfonso Grillo c9d39b25f3 Refine poll push rule sync logic 2023-01-30 19:15:47 +01:00
Alfonso Grillo 4474f5beab Start poll push rule sync logic 2023-01-30 19:15:47 +01:00
Alfonso Grillo 56c5885686 Create private extension of NotificationSettingsViewModel 2023-01-30 19:15:47 +01:00
Alfonso Grillo 46b16da3c2 Update NotificationSettingsServiceType 2023-01-30 19:15:47 +01:00
Alfonso Grillo 290dfa0e95 Add missing NotificationPushRuleIds 2023-01-30 19:15:47 +01:00
Alfonso Grillo 96402fc6da Add calls to update polls rules 2023-01-30 19:15:47 +01:00
Alfonso Grillo f87be21ab3 Add updatePushActions(for:enabled:standardActions) method 2023-01-30 19:15:47 +01:00
Alfonso Grillo d01d9546c0 Cleanup code 2023-01-30 19:15:47 +01:00
Stefan Ceriu 43c28d23b7 Configured and applied SwiftFormat 2022-09-27 12:55:44 +03:00
Johannes Marbach 868fd7e0c8 Remove all @available(iOS 14... annotations 2022-06-23 09:47:38 +02:00
David Langley 3d65fbd48f Update RiotSwiftUI symbols to triple slash documentation style with function annotations. 2021-09-13 11:36:33 +01:00
David Langley 14169c6594 Move complete room notification settings module to RiotSwiftUI and fix naming/directory structure. 2021-09-02 14:09:29 +01:00
David Langley ada377dcf2 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