Remove widget extension

Delete KisaniCalWidget target, Shared/WidgetDataStore, WidgetBridge,
App Group entitlements, and all syncWidget() calls.
This commit is contained in:
kutesir
2026-05-29 10:36:39 +03:00
parent 1d4d7f07c5
commit 28f8b4a0f1
9 changed files with 3 additions and 702 deletions

View File

@@ -76,18 +76,14 @@ struct ContentView: View {
}
.onAppear {
if !hasOnboarded { showOnboarding = true }
taskVM.syncWidget()
workoutVM.syncWidget()
NotificationManager.shared.reschedule(workoutVM: workoutVM, taskVM: taskVM)
}
.onChange(of: scenePhase) { phase in
if phase == .active {
NotificationManager.shared.reschedule(workoutVM: workoutVM, taskVM: taskVM)
taskVM.syncWidget()
workoutVM.syncWidget()
}
}
.onChange(of: taskVM.tasks) { _ in
taskVM.syncWidget()
NotificationManager.shared.reschedule(workoutVM: workoutVM, taskVM: taskVM)
}
.onChange(of: workoutVM.doneSets) { _ in