mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-03 03:47:39 +01:00
update filepicker to 1.3.0
This commit is contained in:
parent
3dbd198628
commit
e96bbfb127
@ -39,7 +39,7 @@ dependencies {
|
||||
compile 'com.android.support:design:23.4.0'
|
||||
compile 'com.jakewharton:butterknife:8.0.1'
|
||||
compile 'com.github.bumptech.glide:glide:3.7.0'
|
||||
compile 'com.simplemobiletools:filepicker:1.1.0@aar'
|
||||
compile 'com.simplemobiletools:filepicker:1.3.0@aar'
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
|
||||
apt 'com.jakewharton:butterknife-compiler:8.0.1'
|
||||
|
@ -78,7 +78,7 @@ public class MainActivity extends SimpleActivity implements ItemsFragment.ItemIn
|
||||
}
|
||||
|
||||
private void openPath(String path) {
|
||||
mBreadcrumbs.setBreadcrumb(path, mConfig.getShowFullPath());
|
||||
mBreadcrumbs.setBreadcrumb(path, Environment.getExternalStorageDirectory().toString());
|
||||
final Bundle bundle = new Bundle();
|
||||
bundle.putString(Constants.PATH, path);
|
||||
|
||||
@ -126,7 +126,7 @@ public class MainActivity extends SimpleActivity implements ItemsFragment.ItemIn
|
||||
}
|
||||
} else {
|
||||
mBreadcrumbs.removeBreadcrumb();
|
||||
final FileDirItem item = (FileDirItem) mBreadcrumbs.getChildAt(mBreadcrumbs.getChildCount() - 1).getTag();
|
||||
final FileDirItem item = mBreadcrumbs.getLastItem();
|
||||
openPath(item.getPath());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user