PrefUI // Only showing fart SFX toggle on April 1st.
This commit is contained in:
parent
3b836d3dff
commit
13a7076255
|
@ -168,6 +168,7 @@ struct VwrPrefPaneGeneral: View {
|
||||||
PrefMgr.shared.inlineDumpPinyinInLieuOfZhuyin = selInlineDumpPinyinInLieuOfZhuyin
|
PrefMgr.shared.inlineDumpPinyinInLieuOfZhuyin = selInlineDumpPinyinInLieuOfZhuyin
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
if Date.isTodayTheDate(from: 0401) {
|
||||||
Toggle(
|
Toggle(
|
||||||
LocalizedStringKey("Stop farting (when typed phonetic combination is invalid, etc.)"),
|
LocalizedStringKey("Stop farting (when typed phonetic combination is invalid, etc.)"),
|
||||||
isOn: $selEnableFartSuppressor.onChange {
|
isOn: $selEnableFartSuppressor.onChange {
|
||||||
|
@ -205,6 +206,7 @@ struct VwrPrefPaneGeneral: View {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
SSPreferences.Section(label: { Text(LocalizedStringKey("Misc Settings:")).controlSize(.small) }) {
|
SSPreferences.Section(label: { Text(LocalizedStringKey("Misc Settings:")).controlSize(.small) }) {
|
||||||
Toggle(
|
Toggle(
|
||||||
LocalizedStringKey("Check for updates automatically"),
|
LocalizedStringKey("Check for updates automatically"),
|
||||||
|
|
Loading…
Reference in New Issue