mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-02 23:43:37 +00:00
Fixed destination behaviour
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user