fix one
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
enum PauseReason: Codable, Sendable, Equatable, Hashable {
|
||||
enum PauseReason: nonisolated Codable, nonisolated Sendable, nonisolated Equatable, nonisolated Hashable {
|
||||
case manual
|
||||
case fullscreen
|
||||
case idle
|
||||
@@ -38,3 +38,4 @@ enum PauseReason: Codable, Sendable, Equatable, Hashable {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import Foundation
|
||||
|
||||
/// Unified identifier for both built-in and user-defined timers
|
||||
enum TimerIdentifier: Hashable, Codable {
|
||||
enum TimerIdentifier: Hashable, Codable, Sendable {
|
||||
case builtIn(TimerType)
|
||||
case user(id: String)
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
struct TimerState: Equatable, Hashable {
|
||||
struct TimerState: Equatable, Hashable, Sendable {
|
||||
let identifier: TimerIdentifier
|
||||
var remainingSeconds: Int
|
||||
var isPaused: Bool
|
||||
@@ -45,7 +45,7 @@ struct TimerState: Equatable, Hashable {
|
||||
}
|
||||
}
|
||||
|
||||
enum TimerStateBuilder {
|
||||
enum TimerStateBuilder: Sendable {
|
||||
static func make(
|
||||
identifier: TimerIdentifier,
|
||||
intervalSeconds: Int,
|
||||
|
||||
Reference in New Issue
Block a user