upgrade to androidx.appcompat 1.6.1

This commit is contained in:
gavine99
2025-04-01 06:44:16 +11:00
parent b6278cf11b
commit bbdc6ceb8e
3 changed files with 6 additions and 7 deletions
@@ -28,12 +28,11 @@ class QkActivityResultContracts {
return intent
}
override fun parseResult(resultCode: Int, intent: Intent?): Uri? {
if (intent == null || resultCode != Activity.RESULT_OK) {
return null
}
override fun parseResult(resultCode: Int, intent: Intent?): Uri {
if (resultCode != Activity.RESULT_OK)
return Uri.EMPTY
return intent.data
return intent?.data ?: Uri.EMPTY
}
}