update commons to 2.7.4

This commit is contained in:
tibbi 2017-02-25 18:59:39 +01:00
parent b6b408e1f8
commit 959b0862f5
3 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ android {
} }
dependencies { dependencies {
compile 'com.simplemobiletools:commons:2.7.3' compile 'com.simplemobiletools:commons:2.7.4'
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0' compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0'
compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1' compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1'
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2' compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'

View file

@ -63,7 +63,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
directories_holder.setOnRefreshListener({ getDirectories() }) directories_holder.setOnRefreshListener({ getDirectories() })
mDirs = ArrayList<Directory>() mDirs = ArrayList<Directory>()
storeSDCardPath() storeStoragePaths()
} }
override fun onCreateOptionsMenu(menu: Menu): Boolean { override fun onCreateOptionsMenu(menu: Menu): Boolean {

View file

@ -69,7 +69,7 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va
directory.addSize(size) directory.addSize(size)
} else { } else {
var dirName = parentDir.getFilenameFromPath() var dirName = parentDir.getFilenameFromPath()
if (parentDir == context.getInternalStoragePath()) { if (parentDir == context.internalStoragePath) {
dirName = context.getString(R.string.internal) dirName = context.getString(R.string.internal)
} else if (parentDir == context.sdCardPath) { } else if (parentDir == context.sdCardPath) {
dirName = context.getString(R.string.sd_card) dirName = context.getString(R.string.sd_card)