Skip to content

Commit

Permalink
Fixing lint issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
growabeard committed Oct 21, 2024
1 parent 2fd283f commit cb6026f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/be/scri/services/SimpleKeyboardIME.kt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ abstract class SimpleKeyboardIME(

override fun commitPeriodAfterSpace() {
if (getSharedPreferences("app_preferences", Context.MODE_PRIVATE)
.getBoolean("period_on_double_tap_$language", true)) {
.getBoolean("period_on_double_tap_$language", true)
) {
val inputConnection = currentInputConnection ?: return
inputConnection.deleteSurroundingText(1, 0)
inputConnection.commitText(". ", 1)
Expand Down

0 comments on commit cb6026f

Please sign in to comment.