minor style update
This commit is contained in:
parent
4bcc181582
commit
5ed8b18e04
|
@ -142,8 +142,9 @@ class RecentsFragment(context: Context, attributeSet: AttributeSet) : MyViewPage
|
|||
if (cursor.moveToFirst()) {
|
||||
do {
|
||||
val path = cursor.getStringValue(FileColumns.DATA)
|
||||
|
||||
if (File(path).isDirectory) continue
|
||||
if (File(path).isDirectory) {
|
||||
continue
|
||||
}
|
||||
|
||||
val name = cursor.getStringValue(FileColumns.DISPLAY_NAME) ?: path.getFilenameFromPath()
|
||||
val size = cursor.getLongValue(FileColumns.SIZE)
|
||||
|
|
Loading…
Reference in New Issue