learning_ai_clock/ios/ChronoMind/Shared/Cloud/KillSwitchService.swift
saravanakumardb1 d3c3affc1b fix(ios): Fix KillSwitchService — BLKillSwitchClient.check() returns Void
Swift BLKillSwitchClient.check() sets isDisabled/maintenanceMessage as
properties on the client, not a returned result. Expose isDisabled and
maintenanceMessage as computed properties on the wrapper.
2026-03-20 23:09:36 -07:00

16 lines
545 B
Swift

// Kill Switch Service
// Thin wrapper over ByteLystPlatformSDK's BLKillSwitchClient.
import ByteLystPlatformSDK
enum KillSwitchService {
private static let client = BLKillSwitchClient(config: ChronoMindConfig.platform)
static var isDisabled: Bool { client.isDisabled }
static var maintenanceMessage: String { client.maintenanceMessage }
static func check() async {
await client.check()
}
}