Skip to content

Commit 9ff87a5

Browse files
committed
bug fixed
1 parent 93df26e commit 9ff87a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

SmartFileBrowser/src/main/java/ir/smartdevelopers/smartfilebrowser/acitivties/FileBrowserMainActivity.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,10 @@ private float convertOffsetToDimen(float offsetStart, float offsetEnd, float dim
995995

996996
@Override
997997
public void finish() {
998-
mBottomSheetBehavior.setState(BottomSheetBehavior.STATE_HIDDEN);
998+
try {
999+
mBottomSheetBehavior.setHideable(true);
1000+
mBottomSheetBehavior.setState(BottomSheetBehavior.STATE_HIDDEN);
1001+
}catch (Exception ignore){}
9991002
super.finish();
10001003
overridePendingTransition(R.anim.sfb_not_anim, R.anim.sfb_fade_out);
10011004

0 commit comments

Comments
 (0)