Commit Graph

5870 Commits

Author SHA1 Message Date
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
Nathan Mattes fb6116d4a6 Refactor Settings-presentation and add new viewControllers (IOS-14) 2023-09-27 15:12:42 +02:00
Nathan Mattes 8598536fc0 Remove debug-menu (IOS-14) 2023-09-27 15:11:43 +02:00
Nathan Mattes 44fda8fe2f Move settings-model to their appropriate location (IOS-14) 2023-09-27 15:11:43 +02:00
Nathan Mattes e473084038
Simplify Theme (#1121) 2023-09-27 15:08:12 +02:00
Nathan Mattes be11f632cc
Disable "Follow all"-button if there are no suggestions (#1124) 2023-09-26 14:26:16 +02:00
Nathan Mattes 32564ff871
Merge pull request #1120 from mastodon/clean-dependencies
Clean dependencies and logging
2023-09-22 15:59:31 +02:00
Nathan Mattes a7381eaaae Clear whitespace 2023-09-22 15:28:07 +02:00
Nathan Mattes 7fa891308a Fix unused-warnings 2023-09-22 15:28:07 +02:00
Nathan Mattes 95fdc7616f Fix warning 2023-09-22 15:28:07 +02:00
Nathan Mattes a74de8fba1 Get rid of FPS indicator 2023-09-22 15:28:07 +02:00
Nathan Mattes c2ceb0aedf Update SwiftNIO 2023-09-22 15:27:46 +02:00