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.
This commit is contained in:
saravanakumardb1 2026-03-20 23:09:36 -07:00
parent 151d8361ed
commit d3c3affc1b

View File

@ -6,7 +6,10 @@ import ByteLystPlatformSDK
enum KillSwitchService {
private static let client = BLKillSwitchClient(config: ChronoMindConfig.platform)
static func check() async -> BLKillSwitchResult {
static var isDisabled: Bool { client.isDisabled }
static var maintenanceMessage: String { client.maintenanceMessage }
static func check() async {
await client.check()
}
}