minor style update

This commit is contained in:
tibbi 2017-10-05 19:12:04 +02:00
parent 9af74b9096
commit 71fa5ec235

View file

@ -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/%/%")
}