Skip to content

Commit 259ec1a

Browse files
committed
rename resolution to imageResolution
1 parent 23eb81b commit 259ec1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/dialogs/PropertiesDialog.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class PropertiesDialog : DialogFragment() {
4343
} else if (mItem.isImage()) {
4444
properties_resolution_label.visibility = View.VISIBLE
4545
properties_resolution.visibility = View.VISIBLE
46-
properties_resolution.text = mItem.resolution
46+
properties_resolution.text = mItem.imageResolution
4747
} else if (mItem.isAudio(context)) {
4848
properties_duration_label.visibility = View.VISIBLE
4949
properties_duration.visibility = View.VISIBLE

library/src/main/kotlin/com/simplemobiletools/filepicker/models/FileDirItem.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class FileDirItem(val path: String, val name: String, val isDirectory: Boolean,
5959
return getFormattedDuration((timeInMillisec / 1000).toInt())
6060
}
6161

62-
val resolution: String
62+
val imageResolution: String
6363
get () {
6464
val bitmap: Bitmap? = BitmapFactory.decodeFile(path)
6565
if (bitmap == null)

0 commit comments

Comments
 (0)