diff --git a/Source/Modules/UIModules/PrefUI/VwrPrefPaneExperience.swift b/Source/Modules/UIModules/PrefUI/VwrPrefPaneExperience.swift index 0c74993c..dc6381c9 100644 --- a/Source/Modules/UIModules/PrefUI/VwrPrefPaneExperience.swift +++ b/Source/Modules/UIModules/PrefUI/VwrPrefPaneExperience.swift @@ -193,27 +193,19 @@ struct VwrPrefPaneExperience: View { Text(LocalizedStringKey("Specify the behavior of intonation key when syllable composer is empty.")) .preferenceDescription() } - SSPreferences.Section(title: "Caps Lock:") { - Toggle( - LocalizedStringKey("Show notifications when toggling Caps Lock"), - isOn: $selShowNotificationsWhenTogglingCapsLock.onChange { - PrefMgr.shared.showNotificationsWhenTogglingCapsLock = selShowNotificationsWhenTogglingCapsLock - } - ).disabled(!macOSMontereyOrLaterDetected) - } SSPreferences.Section(title: "Shift:") { - Toggle( - LocalizedStringKey("Toggle alphanumerical mode with Right-Shift"), - isOn: $selTogglingAlphanumericalModeWithRShift.onChange { - PrefMgr.shared.togglingAlphanumericalModeWithRShift = selTogglingAlphanumericalModeWithRShift - } - ) Toggle( LocalizedStringKey("Toggle alphanumerical mode with Left-Shift"), isOn: $selTogglingAlphanumericalModeWithLShift.onChange { PrefMgr.shared.togglingAlphanumericalModeWithLShift = selTogglingAlphanumericalModeWithLShift } ) + Toggle( + LocalizedStringKey("Toggle alphanumerical mode with Right-Shift"), + isOn: $selTogglingAlphanumericalModeWithRShift.onChange { + PrefMgr.shared.togglingAlphanumericalModeWithRShift = selTogglingAlphanumericalModeWithRShift + } + ) Toggle( LocalizedStringKey("Share alphanumerical mode status across all clients"), isOn: $selShareAlphanumericalModeStatusAcrossClients.onChange { @@ -223,6 +215,14 @@ struct VwrPrefPaneExperience: View { !PrefMgr.shared.togglingAlphanumericalModeWithRShift && !PrefMgr.shared.togglingAlphanumericalModeWithLShift ) } + SSPreferences.Section(title: "Caps Lock:") { + Toggle( + LocalizedStringKey("Show notifications when toggling Caps Lock"), + isOn: $selShowNotificationsWhenTogglingCapsLock.onChange { + PrefMgr.shared.showNotificationsWhenTogglingCapsLock = selShowNotificationsWhenTogglingCapsLock + } + ).disabled(!macOSMontereyOrLaterDetected) + } SSPreferences.Section(label: { Text(LocalizedStringKey("Misc Settings:")) }) { Toggle( LocalizedStringKey("Enable Space key for calling candidate window"),