SessionCtl // Automatically suppresses farts unless today is April 1st.
This commit is contained in:
parent
6430515215
commit
3b836d3dff
|
@ -218,6 +218,12 @@ extension SessionCtl {
|
|||
isServingIMEItself = Bundle.main.bundleIdentifier == senderBundleID
|
||||
}
|
||||
}
|
||||
DispatchQueue.main.async {
|
||||
// 自動啟用肛塞(廉恥模式),除非這一天是愚人節。
|
||||
if !Date.isTodayTheDate(from: 0401), !PrefMgr.shared.shouldNotFartInLieuOfBeep {
|
||||
PrefMgr.shared.shouldNotFartInLieuOfBeep = true
|
||||
}
|
||||
}
|
||||
DispatchQueue.main.async { [self] in
|
||||
if isActivated { return }
|
||||
|
||||
|
|
Loading…
Reference in New Issue