Commit Graph

8 Commits

Author SHA1 Message Date
Maurice Parker
6695fcfca7 Refactor sidebar styling to remove duplicate code 2020-07-06 01:32:43 -05: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
Maurice Parker
61ad0fbfa4 Add unread counts to Sidebar 2020-06-29 16:58:10 -05:00
Maurice Parker
0886cffcff Refactor the SidebarView list into its own View so to reduce code duplication 2020-06-29 13:14:03 -05:00
Stuart Breckenridge
0907164627 Adapts to compact size classes 2020-06-29 22:06:00 +08:00
Maurice Parker
0bd4301df2 Add environment object to previews so that they work. 2020-06-28 21:17:00 -05:00
Maurice Parker
f669411b55 Update project settings so that we can compile under xcode previews 2020-06-28 17:43:20 -05:00
Maurice Parker
441bc072f3 Create rough app outline 2020-06-28 14:21:43 -05:00