mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-02-02 02:56:42 +01:00
Boolean.not() -> !Boolean
This commit is contained in:
parent
d14d6346a6
commit
893b496767
@ -20,7 +20,7 @@ enum class ShiftState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun getShiftStateForText(context: Context, newText: String?): ShiftState {
|
fun getShiftStateForText(context: Context, newText: String?): ShiftState {
|
||||||
if (context.config.enableSentencesCapitalization.not()) {
|
if (!context.config.enableSentencesCapitalization) {
|
||||||
return OFF
|
return OFF
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ enum class ShiftState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun getCapitalizationOnDelete(context: Context, text: CharSequence?): ShiftState {
|
fun getCapitalizationOnDelete(context: Context, text: CharSequence?): ShiftState {
|
||||||
if (context.config.enableSentencesCapitalization.not()) {
|
if (!context.config.enableSentencesCapitalization) {
|
||||||
return OFF
|
return OFF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user