Skip to content

Commit

Permalink
fix: disable opacity in color picker
Browse files Browse the repository at this point in the history
  • Loading branch information
peterklingelhofer committed Mar 19, 2023
1 parent b895690 commit 14132a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exhale/exhale/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 14132a2

Please sign in to comment.