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?
|
/// Fart or Beep?
|
||||||
static func buzz() {
|
static func buzz() {
|
||||||
NSSound.buzz(fart: !PrefMgr.shared.shouldNotFartInLieuOfBeep)
|
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