feat(ios): simplify navigation and ship 0.2.0

Move diagnostics into settings, remove the app-local notification module, unify the global theme switcher, refine privacy copy and the instance detail experience, and rebuild the app icon.
This commit is contained in:
chick
2026-09-12 17:10:02 +08:00
parent 20632be86a
commit e01a105645
25 changed files with 318 additions and 1393 deletions
@@ -36,19 +36,7 @@ enum DefaultContainer {
}
@MainActor
static func makeNotificationsModel() -> NotificationsViewModel {
NotificationsViewModel(
repository: FileInstanceRepository(location: documentFileURL("instances.json")),
service: NotificationService(
client: SimAdminClient(),
sessions: InstanceSessionStore(),
credentials: credentials
)
)
}
@MainActor
static func makeLogsModel() -> LogsViewModel {
static func makeLogsModel(autoRefreshOnAppear: Bool = true) -> LogsViewModel {
let store = logStore
return LogsViewModel(
repository: FileInstanceRepository(location: documentFileURL("instances.json")),
@@ -58,7 +46,8 @@ enum DefaultContainer {
credentials: credentials,
store: store
),
store: store
store: store,
autoRefreshOnAppear: autoRefreshOnAppear
)
}