From a7a1c734ab37d88e25e54dcf52d1776eac3e3d4d Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Tue, 3 Jan 2023 23:20:33 -0800 Subject: [PATCH] Show advanced external notification settings by default --- .../Config/Module/ExternalNotificationConfig.swift | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Meshtastic/Views/Settings/Config/Module/ExternalNotificationConfig.swift b/Meshtastic/Views/Settings/Config/Module/ExternalNotificationConfig.swift index 15233435..a8df56dc 100644 --- a/Meshtastic/Views/Settings/Config/Module/ExternalNotificationConfig.swift +++ b/Meshtastic/Views/Settings/Config/Module/ExternalNotificationConfig.swift @@ -54,8 +54,12 @@ struct ExternalNotificationConfig: View { Text("Use a PWM output (like the RAK Buzzer) for tunes instead of an on/off output. This will ignore the output, output duration and active settings and use the device config buzzer GPIO option instead.") .font(.caption) } - if !usePWM { - Section(header: Text("Primary GPIO")) { + Section(header: Text("Advanced GPIO Options")) { + Section(header: Text("Primary GPIO") + .font(.caption) + .foregroundColor(.gray) + .textCase(.uppercase)) + { Toggle(isOn: $active) { Label("Active", systemImage: "togglepower") } @@ -90,7 +94,11 @@ struct ExternalNotificationConfig: View { .font(.caption) } - Section(header: Text("Optional GPIO")) { + Section(header: Text("Optional GPIO") + .font(.caption) + .foregroundColor(.gray) + .textCase(.uppercase)) + { Toggle(isOn: $alertBellBuzzer) { Label("Alert GPIO buzzer when receiving a bell", systemImage: "bell") }