always use proper action menu title text color

This commit is contained in:
tibbi 2018-07-15 10:15:41 +02:00
parent a2aced3cd6
commit 1913df404d
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ ext {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:4.4.10' implementation 'com.simplemobiletools:commons:4.4.17'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
implementation 'com.android.support:multidex:1.0.3' implementation 'com.android.support:multidex:1.0.3'
implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1'

View file

@ -317,7 +317,7 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
mPath.startsWith(OTG_PATH) -> mPath.trimEnd('/').substringAfterLast('/') mPath.startsWith(OTG_PATH) -> mPath.trimEnd('/').substringAfterLast('/')
else -> getHumanizedFilename(mPath) else -> getHumanizedFilename(mPath)
} }
supportActionBar?.title = if (mShowAll) resources.getString(R.string.all_folders) else dirName updateActionBarTitle(if (mShowAll) resources.getString(R.string.all_folders) else dirName)
getMedia() getMedia()
setupLayoutManager() setupLayoutManager()
} else { } else {