@@ -142,6 +142,7 @@ struct AlarmListView: View {
sheetContent(for: info)
}
+ .preferredColorScheme(Storage.shared.forceDarkMode.value ? .dark : nil)
private func handleSheetDismiss() {
@@ -196,5 +196,6 @@ struct AlarmSettingsView: View {
@@ -37,6 +37,7 @@ struct BackgroundRefreshSettingsView: View {
stopTimer()
// MARK: - Subviews / Computed Properties
@@ -89,6 +89,7 @@ struct ContactSettingsView: View {
Alert(title: Text(alertTitle), message: Text(alertMessage), dismissButton: .default(Text("OK")))
private func requestContactAccess() {
@@ -36,5 +36,6 @@ struct DexcomSettingsView: View {
@@ -47,5 +47,6 @@ struct InfoDisplaySettingsView: View {
NotificationCenter.default.post(name: NSNotification.Name("refresh"), object: nil)
@@ -46,5 +46,6 @@ struct LogView: View {
viewModel.loadLogEntries()
@@ -27,6 +27,7 @@ struct NightscoutSettingsView: View {
viewModel.dismiss()
@@ -206,6 +206,7 @@ struct RemoteSettingsView: View {
// MARK: - Custom Row for Remote Type Selection
@@ -37,5 +37,6 @@ struct AdvancedSettingsView: View {
@@ -112,5 +112,6 @@ struct GeneralSettingsView: View {
@@ -143,6 +143,7 @@ struct GraphSettingsView: View {
/// Marks the chart as needing a redraw
@@ -82,6 +82,7 @@ struct WatchSettingsView: View {
await requestCalendarAccessAndLoad()
// MARK: - Helpers