1.6.0 for Android and 1.1.0 for iOS - Finalizing Export and Import
formats :)
This commit is contained in:
@@ -57,6 +57,8 @@ struct ContentView: View {
|
||||
}
|
||||
.onAppear {
|
||||
setupNotificationObservers()
|
||||
// Trigger auto-sync on app launch
|
||||
dataManager.syncService.triggerAutoSync(dataManager: dataManager)
|
||||
}
|
||||
.onDisappear {
|
||||
removeNotificationObservers()
|
||||
@@ -100,7 +102,9 @@ struct ContentView: View {
|
||||
print("📱 App did become active - checking Live Activity status")
|
||||
Task {
|
||||
try? await Task.sleep(nanoseconds: 300_000_000) // 0.3 seconds
|
||||
dataManager.onAppBecomeActive()
|
||||
await dataManager.onAppBecomeActive()
|
||||
// Trigger auto-sync when app becomes active
|
||||
await dataManager.syncService.triggerAutoSync(dataManager: dataManager)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user