diff --git a/library/src/main/java/com/nbsp/materialfilepicker/ui/FilePickerActivity.java b/library/src/main/java/com/nbsp/materialfilepicker/ui/FilePickerActivity.java index c47dbfd..d022a81 100644 --- a/library/src/main/java/com/nbsp/materialfilepicker/ui/FilePickerActivity.java +++ b/library/src/main/java/com/nbsp/materialfilepicker/ui/FilePickerActivity.java @@ -172,7 +172,8 @@ private void updateTitle() { if (getSupportActionBar() != null) { //final String titlePath = mCurrent.getAbsolutePath(); // Show only path name - final String titlePath = mCurrent.getName(); + String titlePath = mCurrent.getName(); + if(titlePath.equals("0")){ titlePath=""; } if (mCurrent.getPath().equals(mStart.getPath())) { getSupportActionBar().setDisplayHomeAsUpEnabled(false);