diff --git a/app/build.gradle b/app/build.gradle index f76beb22c..79ef9002a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -57,7 +57,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.5.16' + implementation 'com.simplemobiletools:commons:5.5.17' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'androidx.multidex:multidex:2.0.0' implementation 'it.sephiroth.android.exif:library:1.0.1' diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt index cf2a94ded..ad106ed3c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt @@ -375,7 +375,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { Thread { if (hasOTGConnected()) { runOnUiThread { - ConfirmationDialog(this, getString(R.string.otg_detected), positive = R.string.ok, negative = 0) { + ConfirmationDialog(this, getString(R.string.usb_detected), positive = R.string.ok, negative = 0) { handleOTGPermission { config.addIncludedFolder(OTG_PATH) } diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt index e215c2c18..536e05245 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt @@ -341,7 +341,7 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener { val dirName = when { mPath == FAVORITES -> getString(R.string.favorites) mPath == RECYCLE_BIN -> getString(R.string.recycle_bin) - mPath == OTG_PATH -> getString(R.string.otg) + mPath == OTG_PATH -> getString(R.string.usb) mPath.startsWith(OTG_PATH) -> mPath.trimEnd('/').substringAfterLast('/') else -> getHumanizedFilename(mPath) } diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Context.kt index c2631fc93..c8a7f5b58 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Context.kt @@ -375,7 +375,7 @@ fun Context.getFolderNameFromPath(path: String): String { return when (path) { internalStoragePath -> getString(R.string.internal) sdCardPath -> getString(R.string.sd_card) - OTG_PATH -> getString(R.string.otg) + OTG_PATH -> getString(R.string.usb) FAVORITES -> getString(R.string.favorites) RECYCLE_BIN -> getString(R.string.recycle_bin) else -> {