mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 17:29:23 +00:00
Add iOS Activity Log screen. Create shared view model and use it on iOS and Mac.
This commit is contained in:
1 parent
7c69ab0587
commit
a1e45c056f
6 files changed
+327
-89
No files matched your search
@@ -33,6 +33,7 @@ final class SettingsViewController: UITableViewController {
|
||||
case accountStats = 1
|
||||
case dinosaurs = 2
|
||||
case cloudKitZoneStats = 3
|
||||
case activityLog = 4
|
||||
}
|
||||
|
||||
private enum FeedsRow: Int {
|
||||
@@ -282,6 +283,8 @@ final class SettingsViewController: UITableViewController {
|
||||
return UIHostingController(rootView: AccountStatsView())
|
||||
case .cloudKitZoneStats:
|
||||
return UIHostingController(rootView: CloudKitStatsView())
|
||||
case .activityLog:
|
||||
return UIHostingController(rootView: ActivityLogView())
|
||||
case .dinosaurs:
|
||||
return UIHostingController(rootView: DinosaursView(dismissAndPresent: { [weak self] dinosaur in
|
||||
guard let self else {
|
||||
|
||||
Reference in new issue
Block a user