From 1fe5d08685db954c8431da8f7644fd1fb1403aa5 Mon Sep 17 00:00:00 2001 From: winebarrel Date: Mon, 4 Nov 2024 16:14:30 +0900 Subject: [PATCH] chore: Add comment --- PagerCall/PagerCallApp.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/PagerCall/PagerCallApp.swift b/PagerCall/PagerCallApp.swift index 7e43103..24cc040 100644 --- a/PagerCall/PagerCallApp.swift +++ b/PagerCall/PagerCallApp.swift @@ -8,6 +8,7 @@ struct PagerCallApp: App { @State private var initialized = false @State private var isMenuPresented = false @State private var timer: Task? + // NOTE: Define "apiKey" in PagerCallApp so that values are not lost during sleep. @State private var apiKey = Vault.apiKey @AppStorage("interval") private var interval = Constants.defaultInterval @StateObject private var pagerDuty = PagerDuty()