Skip to content

Commit

Permalink
[PATCH] Fix bug that breaks adding consecutive switches
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinhenderson committed Aug 9, 2024
1 parent 4c5777c commit ce6d50e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Echo/Components/SwitchControlSection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ struct SwitchControlSection: View {
}

Button(action: {
currentSwitch = nil
showNewSwitchSheet.toggle()
}, label: {
Label(
Expand Down

0 comments on commit ce6d50e

Please sign in to comment.