Main // Use system NSSound by default.
This commit is contained in:
parent
4947f49043
commit
5fb420adf1
|
@ -80,6 +80,12 @@ public enum IMEApp {
|
|||
|
||||
/// Fart or Beep?
|
||||
static func buzz() {
|
||||
if PrefMgr.shared.isDebugModeEnabled {
|
||||
NSSound.buzz(fart: !PrefMgr.shared.shouldNotFartInLieuOfBeep)
|
||||
} else if !PrefMgr.shared.shouldNotFartInLieuOfBeep {
|
||||
NSSound.buzz(fart: true)
|
||||
} else {
|
||||
NSSound.beep()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue