mirror of
				https://github.com/SimpleMobileTools/Simple-File-Manager.git
				synced 2025-06-05 22:09:15 +02:00 
			
		
		
		
	rename resolution to imageResolution
This commit is contained in:
		| @@ -43,7 +43,7 @@ class PropertiesDialog : DialogFragment() { | |||||||
|             } else if (mItem.isImage()) { |             } else if (mItem.isImage()) { | ||||||
|                 properties_resolution_label.visibility = View.VISIBLE |                 properties_resolution_label.visibility = View.VISIBLE | ||||||
|                 properties_resolution.visibility = View.VISIBLE |                 properties_resolution.visibility = View.VISIBLE | ||||||
|                 properties_resolution.text = mItem.resolution |                 properties_resolution.text = mItem.imageResolution | ||||||
|             } else if (mItem.isAudio(context)) { |             } else if (mItem.isAudio(context)) { | ||||||
|                 properties_duration_label.visibility = View.VISIBLE |                 properties_duration_label.visibility = View.VISIBLE | ||||||
|                 properties_duration.visibility = View.VISIBLE |                 properties_duration.visibility = View.VISIBLE | ||||||
|   | |||||||
| @@ -59,7 +59,7 @@ class FileDirItem(val path: String, val name: String, val isDirectory: Boolean, | |||||||
|         return getFormattedDuration((timeInMillisec / 1000).toInt()) |         return getFormattedDuration((timeInMillisec / 1000).toInt()) | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     val resolution: String |     val imageResolution: String | ||||||
|         get () { |         get () { | ||||||
|             val bitmap: Bitmap? = BitmapFactory.decodeFile(path) |             val bitmap: Bitmap? = BitmapFactory.decodeFile(path) | ||||||
|             if (bitmap == null) |             if (bitmap == null) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user