Gradle update, offerButton.isEnabled = false in initial (#8600)

This commit is contained in:
lishaoxia1985
2023-02-06 20:21:46 +08:00
committed by GitHub
parent 8f56a88990
commit 4b2d4a3877
4 changed files with 7 additions and 6 deletions

View File

@ -28,7 +28,7 @@ class CustomFileLocationHelperAndroid(private val activity: Activity) : CustomFi
cursor.use {
// we should have a direct URI to a file, so first is enough
if (it?.moveToFirst() == true) {
it.getString(it.getColumnIndex(OpenableColumns.DISPLAY_NAME))
it.getString(it.getColumnIndexOrThrow(OpenableColumns.DISPLAY_NAME))
} else ""
}
}