PrefUI // Fix selShowPageButtonsInCandidateUI.

This commit is contained in:
ShikiSuen 2022-06-04 21:24:33 +08:00
parent 1c3eef6400
commit cf0c99a06d
1 changed files with 7 additions and 1 deletions

View File

@ -126,7 +126,13 @@ struct suiPrefPaneGeneral: View {
.preferenceDescription()
Toggle(
LocalizedStringKey("Show page buttons in candidate window"), isOn: $selShowPageButtonsInCandidateUI
).controlSize(.small)
).onChange(
of: selShowPageButtonsInCandidateUI,
perform: { value in
mgrPrefs.showPageButtonsInCandidateWindow = value
}
)
.controlSize(.small)
}
Preferences.Section(bottomDivider: true, label: { Text(LocalizedStringKey("Output Settings:")) }) {
Toggle(