Skip to content

Commit 05d2e34

Browse files
committed
fix: respect system preference by default
1 parent 7c94520 commit 05d2e34

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/kotlin/org/fossify/keyboard/helpers

1 file changed

+1
-1
lines changed

app/src/main/kotlin/org/fossify/keyboard/helpers/Config.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Config(context: Context) : BaseConfig(context) {
1616
set(vibrateOnKeypress) = prefs.edit().putBoolean(VIBRATE_ON_KEYPRESS, vibrateOnKeypress).apply()
1717

1818
var soundOnKeypress: Int
19-
get() = prefs.getInt(SOUND_ON_KEYPRESS, SOUND_NONE)
19+
get() = prefs.getInt(SOUND_ON_KEYPRESS, SOUND_SYSTEM)
2020
set(soundOnKeypress) = prefs.edit().putInt(SOUND_ON_KEYPRESS, soundOnKeypress).apply()
2121

2222
var showPopupOnKeypress: Boolean

0 commit comments

Comments
 (0)