Skip to content

Commit

Permalink
Merge pull request #2 from deton/fix-npe
Browse files Browse the repository at this point in the history
Fix NullPointerException
  • Loading branch information
deton authored Aug 8, 2021
2 parents 49e147b + c2ff829 commit 2cf1ea4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "io.github.deton.androidtutcode"
minSdkVersion 14
targetSdkVersion 28
versionCode 2
versionName "1.0.1"
versionCode 3
versionName "1.0.2"
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ class SKKEngine(
mOkurigana = null
mCandidatesList = null
mService.clearCandidatesView()
mService.currentInputConnection.setComposingText("", 1)
mService.currentInputConnection?.setComposingText("", 1)
}

internal fun changeInputMode(pcode: Int, toKatakana: Boolean): Boolean {
Expand Down

0 comments on commit 2cf1ea4

Please sign in to comment.