Skip to content

Commit 893b496

Browse files
committed
Boolean.not() -> !Boolean
1 parent d14d634 commit 893b496

File tree

1 file changed

+2
-2
lines changed
  • app/src/main/kotlin/com/simplemobiletools/keyboard/helpers

1 file changed

+2
-2
lines changed

app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/Constants.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ enum class ShiftState {
2020
}
2121

2222
fun getShiftStateForText(context: Context, newText: String?): ShiftState {
23-
if (context.config.enableSentencesCapitalization.not()) {
23+
if (!context.config.enableSentencesCapitalization) {
2424
return OFF
2525
}
2626

@@ -36,7 +36,7 @@ enum class ShiftState {
3636
}
3737

3838
fun getCapitalizationOnDelete(context: Context, text: CharSequence?): ShiftState {
39-
if (context.config.enableSentencesCapitalization.not()) {
39+
if (!context.config.enableSentencesCapitalization) {
4040
return OFF
4141
}
4242

0 commit comments

Comments
 (0)