Skip to content

Commit

Permalink
Fix crash on Kotlin null pointer check from API call
Browse files Browse the repository at this point in the history
  • Loading branch information
bailuk committed May 6, 2024
1 parent 1bf726a commit 4cd0ac9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class PreferencesActivity : ActivityContext(), OnPreferencesChanged {
override fun onActivityResult(
requestCode: Int,
resultCode: Int,
data: Intent
data: Intent? // Parameter of API call is nullable
) {
SolidSAF.onActivityResult(this, requestCode, resultCode, data)
}
Expand Down

0 comments on commit 4cd0ac9

Please sign in to comment.