From 14132a2d18d876da7940c18b88fdd4a53c7a07dc Mon Sep 17 00:00:00 2001 From: Peter Klingelhofer Date: Sun, 19 Mar 2023 11:47:08 -0500 Subject: [PATCH] fix: disable opacity in color picker --- exhale/exhale/SettingsView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exhale/exhale/SettingsView.swift b/exhale/exhale/SettingsView.swift index dd80a27..f15f0bf 100644 --- a/exhale/exhale/SettingsView.swift +++ b/exhale/exhale/SettingsView.swift @@ -67,9 +67,9 @@ struct SettingsView: View { VStack { Form { VStack(alignment: .leading, spacing: 10) { - ColorPicker("Overlay Color", selection: $overlayColor, supportsOpacity: true) + ColorPicker("Overlay Color", selection: $overlayColor, supportsOpacity: false) - ColorPicker("Background Color", selection: $backgroundColor, supportsOpacity: true) + ColorPicker("Background Color", selection: $backgroundColor, supportsOpacity: false) TextFieldWithValidation(title: "Inhale Duration (s)", value: $inhaleDuration, formatter: createNumberFormatter(minimumValue: 0.5), minimumValue: 0.5)