mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
use file/folder name at bubble text with random sorting
This commit is contained in:
@@ -34,6 +34,7 @@ data class Directory(
|
||||
sorting and SORT_BY_PATH != 0 -> path
|
||||
sorting and SORT_BY_SIZE != 0 -> size.formatSize()
|
||||
sorting and SORT_BY_DATE_MODIFIED != 0 -> modified.formatDate(context, dateFormat, timeFormat)
|
||||
sorting and SORT_BY_RANDOM != 0 -> name
|
||||
else -> taken.formatDate(context)
|
||||
}
|
||||
|
||||
|
@@ -4,10 +4,7 @@ import android.content.Context
|
||||
import androidx.room.*
|
||||
import com.bumptech.glide.signature.ObjectKey
|
||||
import com.simplemobiletools.commons.extensions.*
|
||||
import com.simplemobiletools.commons.helpers.SORT_BY_DATE_MODIFIED
|
||||
import com.simplemobiletools.commons.helpers.SORT_BY_NAME
|
||||
import com.simplemobiletools.commons.helpers.SORT_BY_PATH
|
||||
import com.simplemobiletools.commons.helpers.SORT_BY_SIZE
|
||||
import com.simplemobiletools.commons.helpers.*
|
||||
import com.simplemobiletools.commons.models.FileDirItem
|
||||
import com.simplemobiletools.gallery.pro.helpers.*
|
||||
import java.io.File
|
||||
@@ -63,6 +60,7 @@ data class Medium(
|
||||
sorting and SORT_BY_PATH != 0 -> path
|
||||
sorting and SORT_BY_SIZE != 0 -> size.formatSize()
|
||||
sorting and SORT_BY_DATE_MODIFIED != 0 -> modified.formatDate(context, dateFormat, timeFormat)
|
||||
sorting and SORT_BY_RANDOM != 0 -> name
|
||||
else -> taken.formatDate(context)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user