mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Fixed destination behaviour
This commit is contained in:
parent
d53c29a9a2
commit
c7fb6c2cb9
1 changed files with 1 additions and 2 deletions
|
|
@ -183,8 +183,7 @@ public class MainActivity extends BaseActivity {
|
||||||
if (bottomSheetBehavior.getState() == BottomSheetBehavior.STATE_EXPANDED && (
|
if (bottomSheetBehavior.getState() == BottomSheetBehavior.STATE_EXPANDED && (
|
||||||
destination.getId() == R.id.homeFragment ||
|
destination.getId() == R.id.homeFragment ||
|
||||||
destination.getId() == R.id.libraryFragment ||
|
destination.getId() == R.id.libraryFragment ||
|
||||||
destination.getId() == R.id.searchFragment ||
|
destination.getId() == R.id.downloadFragment)
|
||||||
destination.getId() == R.id.settingsFragment)
|
|
||||||
) {
|
) {
|
||||||
bottomSheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
|
bottomSheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue