minor style update
This commit is contained in:
parent
9af74b9096
commit
71fa5ec235
1 changed files with 5 additions and 1 deletions
|
@ -77,7 +77,11 @@ class MediaFetcher(val context: Context) {
|
|||
|
||||
private fun getSelectionArgsQuery(path: String): Array<String> {
|
||||
return if (path.isEmpty()) {
|
||||
if (context.hasExternalSDCard()) arrayOf("${context.internalStoragePath}/%", "${context.sdCardPath}/%") else arrayOf("${context.internalStoragePath}/%")
|
||||
if (context.hasExternalSDCard()) {
|
||||
arrayOf("${context.internalStoragePath}/%", "${context.sdCardPath}/%")
|
||||
} else {
|
||||
arrayOf("${context.internalStoragePath}/%")
|
||||
}
|
||||
} else {
|
||||
arrayOf("$path/%", "$path/%/%")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue