iOS 1.2.1 - Better auto sync and sync indicator
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
//
|
||||
// AppIntent.swift
|
||||
// SessionStatusLive
|
||||
//
|
||||
// Created by Atridad Lahiji on 2025-09-15.
|
||||
//
|
||||
|
||||
import WidgetKit
|
||||
import AppIntents
|
||||
import WidgetKit
|
||||
|
||||
struct ConfigurationAppIntent: WidgetConfigurationIntent {
|
||||
static var title: LocalizedStringResource { "Configuration" }
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
//
|
||||
// SessionStatusLive.swift
|
||||
// SessionStatusLive
|
||||
//
|
||||
// Created by Atridad Lahiji on 2025-09-15.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import WidgetKit
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
//
|
||||
// SessionStatusLiveBundle.swift
|
||||
// SessionStatusLive
|
||||
//
|
||||
// Created by Atridad Lahiji on 2025-09-15.
|
||||
//
|
||||
|
||||
import WidgetKit
|
||||
import SwiftUI
|
||||
import WidgetKit
|
||||
|
||||
@main
|
||||
struct SessionStatusLiveBundle: WidgetBundle {
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
//
|
||||
// SessionStatusLiveControl.swift
|
||||
// SessionStatusLive
|
||||
//
|
||||
// Created by Atridad Lahiji on 2025-09-15.
|
||||
//
|
||||
|
||||
import AppIntents
|
||||
import SwiftUI
|
||||
@@ -42,8 +38,9 @@ extension SessionStatusLiveControl {
|
||||
}
|
||||
|
||||
func currentValue(configuration: TimerConfiguration) async throws -> Value {
|
||||
let isRunning = true // Check if the timer is running
|
||||
return SessionStatusLiveControl.Value(isRunning: isRunning, name: configuration.timerName)
|
||||
let isRunning = true // Check if the timer is running
|
||||
return SessionStatusLiveControl.Value(
|
||||
isRunning: isRunning, name: configuration.timerName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
//
|
||||
// SessionStatusLiveLiveActivity.swift
|
||||
// SessionStatusLive
|
||||
//
|
||||
// Created by Atridad Lahiji on 2025-09-15.
|
||||
//
|
||||
|
||||
import ActivityKit
|
||||
import SwiftUI
|
||||
|
||||
Reference in New Issue
Block a user