Skip to content

Commit

Permalink
Change Get Info to use switches
Browse files Browse the repository at this point in the history
  • Loading branch information
vincode-io committed Jun 7, 2024
1 parent 99cbe03 commit 185e3e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Zavala/Dialogs/GetInfoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,16 @@ struct GetInfoView: View {
Toggle(isOn: $getInfoViewModel.checkSpellingWhileTyping) {
Text(String.checkSpellingWhileTypingControlLabel)
}
.toggleStyle(.switch)
Toggle(isOn: $getInfoViewModel.correctSpellingAutomatically) {
Text(String.correctSpellingAutomaticallyControlLabel)
}
.toggleStyle(.switch)
.disabled(getInfoViewModel.checkSpellingWhileTyping == false)
Toggle(isOn: $getInfoViewModel.autoLinkingEnabled) {
Text(String.autoLinkingControlLabel)
}
.toggleStyle(.switch)
}
Section(String.ownerControlLabel) {
TextField(text: $getInfoViewModel.ownerName) {
Expand Down

0 comments on commit 185e3e5

Please sign in to comment.