mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
show the folder name at search hint
This commit is contained in:
@@ -78,7 +78,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:8d0cd51dd8'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:7ec82ca93f'
|
||||||
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
|
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
|
||||||
implementation 'it.sephiroth.android.exif:library:1.0.1'
|
implementation 'it.sephiroth.android.exif:library:1.0.1'
|
||||||
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.24'
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.24'
|
||||||
|
@@ -361,7 +361,13 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
|
|||||||
else -> getHumanizedFilename(mPath)
|
else -> getHumanizedFilename(mPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
//media_toolbar.title = if (mShowAll) resources.getString(R.string.all_folders) else dirName
|
val searchHint = if (mShowAll) {
|
||||||
|
getString(R.string.search)
|
||||||
|
} else {
|
||||||
|
getString(R.string.search_in_placeholder, dirName)
|
||||||
|
}
|
||||||
|
|
||||||
|
media_menu.updateHintText(searchHint)
|
||||||
if (!mShowAll) {
|
if (!mShowAll) {
|
||||||
media_menu.toggleForceArrowBackIcon(true)
|
media_menu.toggleForceArrowBackIcon(true)
|
||||||
media_menu.onNavigateBackClickListener = {
|
media_menu.onNavigateBackClickListener = {
|
||||||
|
Reference in New Issue
Block a user