Commit Graph

5902 Commits

Author SHA1 Message Date
Marcus Kida c80a590306
Fix compilation issue 2023-09-29 12:52:22 +02:00
Marcus Kida 943f3bc778
Merge branch 'develop' into performance_experiments 2023-09-29 12:43:34 +02:00
Nathan Mattes b48a66c018
Merge pull request #1073 from mastodon/ios-14-advanced-settings
Migrate existing settings to new Design
2023-09-28 16:21:34 +02:00
Nathan Mattes 1c92d60c1a Set CoreData-version
🤦
2023-09-28 16:05:12 +02:00
Nathan Mattes a0d455058a Put some constants into an extension (IOS-14) 2023-09-28 15:59:19 +02:00
Nathan Mattes 548798e401 Update CoreData-model to remove old settings (IOS-14)
They're stored in UserDefaults and this is kind of redundant. So: Bye!

Thanks @kimar
2023-09-28 15:51:35 +02:00
Nathan Mattes b0886979e5 Remove old settings 2023-09-27 18:02:59 +02:00
Nathan Mattes bbf7c541bb Minor Cleanup (IOS-14) 2023-09-27 17:51:47 +02:00
Nathan Mattes b6a7126eb1 Animate toggle-switch (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 0e964de0df Disable "Support"-setting for now (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 65f39f4b61 Sprinkle in some localization (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 8e54da5dff Add a hint in case notifications are disabled (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes b7399e79bf Move files 2023-09-27 15:12:43 +02:00
Nathan Mattes 85a82cbb9b Disable notifications if they aren't enabled (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes f5365a9d6e Toggle alerts on tap (IOS-14)
This feels kind of good :D
2023-09-27 15:12:43 +02:00
Nathan Mattes ba0f689acd Set notification-types (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes fcb19b9734 Set toggle-values for notification-settings (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes f2180034ee Read notification-setting from CoreData (IOS-14)
aka subscription
2023-09-27 15:12:43 +02:00
Nathan Mattes 00fa7e1220 Show list of Notification-policies (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 1f1d8587e0 Store animation-settings in UserDefaults, too (IOS-14)
Because why not?
2023-09-27 15:12:43 +02:00
Nathan Mattes 67e3078df9 Sprinkle in some localizations on Notificaiton-Screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes fedde3e159 Fix build (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes a1d0c74617 Implement basic UI for notification-settings-screen (IOS-14)
No functionality (yet), but all relevant classes and protocols are there.
2023-09-27 15:12:43 +02:00
Nathan Mattes 24724b9943 Clean up settings (a bit, IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 9ec380cccd Refactor Toggle-cell to be (more) reusable (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 5d58010907 Localize General-Setting-Screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 54a7fdee01 Fix app.json-JSON 🤦 (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 97e6d750ee Persist general settings (IOS-14, IOS-166) 2023-09-27 15:12:43 +02:00
Nathan Mattes c14418c440 Implement toggle-cell and improve selection-cell for general-settings (IOS-14)
and hook up the cell with the viewmodel.

Also: Put DiffableTableViewDataSource into its own file (and fix a typo while doing so)
2023-09-27 15:12:43 +02:00
Nathan Mattes 4daa48f003 Remove duplicated strings (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes dfcda1f1da Show general-settings (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes e201193ee4 Don't change icon-color (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 2f7eec48c7 Add first draft of GeneralSettings-Screen (IOS-14)
Setting the Appearance already works, but that's it for now.
2023-09-27 15:12:43 +02:00
Nathan Mattes 3c9648e52f Show accountname on logout-button (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes a27cb88400 Add mastodon-version to about-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes d554b969e1 Fix build (again) (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 7c977d562f Fix build (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 79ba6ed13f Remove obsolete code 2023-09-27 15:12:43 +02:00
Nathan Mattes 4107370957 Set title for about-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 3e2531e8fb Fix string (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 6b12224578 Purge cache (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 951f46353f Add localization to about-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 921c97b2a7 Implement links on about-mastodon-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes de9bf24122 Refactor Settings-overview (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 12109808fc Move coordinator-protocol into its own file (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 0f495e67e4 Add localization to general-settings-screen (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes e8e2f7ceff Fix icon-size (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes d17a444569 Turn on logout (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 942527af7c Style settings-cell (IOS-14) 2023-09-27 15:12:43 +02:00
Nathan Mattes 1461a2a082 [WIP] Add Entries for SettingsViewController (IOS-14) 2023-09-27 15:12:43 +02:00