mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
minor style update
This commit is contained in:
@@ -77,7 +77,11 @@ class MediaFetcher(val context: Context) {
|
|||||||
|
|
||||||
private fun getSelectionArgsQuery(path: String): Array<String> {
|
private fun getSelectionArgsQuery(path: String): Array<String> {
|
||||||
return if (path.isEmpty()) {
|
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 {
|
} else {
|
||||||
arrayOf("$path/%", "$path/%/%")
|
arrayOf("$path/%", "$path/%/%")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user