Skip to content

Commit e96bbfb

Browse files
committed
update filepicker to 1.3.0
1 parent 3dbd198 commit e96bbfb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies {
3939
compile 'com.android.support:design:23.4.0'
4040
compile 'com.jakewharton:butterknife:8.0.1'
4141
compile 'com.github.bumptech.glide:glide:3.7.0'
42-
compile 'com.simplemobiletools:filepicker:1.1.0@aar'
42+
compile 'com.simplemobiletools:filepicker:1.3.0@aar'
4343
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
4444

4545
apt 'com.jakewharton:butterknife-compiler:8.0.1'

app/src/main/java/com/simplemobiletools/filemanager/activities/MainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private void initRootFileManager() {
7878
}
7979

8080
private void openPath(String path) {
81-
mBreadcrumbs.setBreadcrumb(path, mConfig.getShowFullPath());
81+
mBreadcrumbs.setBreadcrumb(path, Environment.getExternalStorageDirectory().toString());
8282
final Bundle bundle = new Bundle();
8383
bundle.putString(Constants.PATH, path);
8484

@@ -126,7 +126,7 @@ public void run() {
126126
}
127127
} else {
128128
mBreadcrumbs.removeBreadcrumb();
129-
final FileDirItem item = (FileDirItem) mBreadcrumbs.getChildAt(mBreadcrumbs.getChildCount() - 1).getTag();
129+
final FileDirItem item = mBreadcrumbs.getLastItem();
130130
openPath(item.getPath());
131131
}
132132
}

0 commit comments

Comments
 (0)