Skip to content

Commit

Permalink
Adding haptic feedback warning. Fixes #420 (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Sep 20, 2023
1 parent e11c2fa commit 8b4b888
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ fun LookAndFeelActivity(
title = {
Text(stringResource(R.string.vibrate_on_tap))
},
subtitle = {
Text(stringResource(R.string.vibrate_warning))
},
onCheckedChange = {
updateAppSettings(
appSettingsViewModel,
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<string name="theme_color">Theme color</string>
<string name="position">Position</string>
<string name="vibrate_on_tap">Vibrate on tap</string>
<string name="vibrate_warning">Requires touch feedback to be enabled in system settings</string>
<string name="play_sound_on_tap">Play sound on tap</string>
<string name="auto_capitalize">Auto-Capitalize</string>
<string name="key_size">Key Size: %1$s</string>
Expand Down

0 comments on commit 8b4b888

Please sign in to comment.