Commit Graph

14 Commits

Author SHA1 Message Date
Maurice Parker
4bd6b3ac96 Refactor SettingsModel into its own swift file 2020-07-04 09:03:35 -05:00
Rizwan Mohamed Ibrahim
dde9035592
Add feeds settings for import and export subscriptions 2020-07-04 13:39:08 +05:30
Rizwan Mohamed Ibrahim
7cc71eac95
Merge branch 'swiftui' into swiftui-color-palette
* swiftui:
  Register AppDefaults.  Issue #2190
  Removed obsolete AppDefaults values
  Revert to using List for timeline and use infinite scrolling technique to speed up timeline loads
  Add action sheet for adding feed resources
  Stub out Article code
  Delete dead code
  Fix bad merge where we were missing a file reference

# Conflicts:
#	NetNewsWire.xcodeproj/project.pbxproj
2020-07-03 13:45:03 +05:30
Rizwan Mohamed Ibrahim
fc548ac913
Try conditional modifier for preferredColorScheme 2020-07-03 12:35:12 +05:30
Maurice Parker
88d03586ae Register AppDefaults. Issue #2190 2020-07-03 01:24:35 -05:00
Rizwan Mohamed Ibrahim
959eef6a1a
Add color palette implementation for Appearance settings 2020-07-02 21:10:24 +05:30
Stuart Breckenridge
c2149579c9 Converts AppDefaults to singleton 2020-07-02 09:58:25 +08:00
Stuart Breckenridge
0e0f46fa49 Refactors AppDefaults to AppSettings
This commit makes some assumptions:

- `AppSettings` is an `ObservableObject` that uses `@AppStorage` where possible, which sets default values.
- Each change to an property triggers an `objectWillChange.send()` call.
- `IconSize` is not used. Instead, it defaults to 40.0 with minimums and maximums of 20.0 and 60.0, controlled via Timeline settings.
2020-07-01 21:06:40 +08:00
Stuart Breckenridge
12a0d13971 Changes viewModel to @StateObject 2020-06-30 22:31:12 +08:00
Stuart Breckenridge
6cb4c46e4b Adds app version text to setting footer 2020-06-30 21:50:53 +08:00
Stuart Breckenridge
2342ef2b76 Adds Toolbar for Sidebar & SettingsViews for iOS 2020-06-30 21:22:23 +08:00
Maurice Parker
b82686e7b8 Change app identification so that we keep the same user defaults as the previous mac and ios versions 2020-06-28 14:40:01 -05:00
Maurice Parker
67c0e00957 Make multiplatform compile shared app resources 2020-06-28 03:05:01 -05:00
Maurice Parker
7ceaa305e7 Initial multiplatform build 2020-06-27 11:22:01 -05:00