mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Simplified if statement
This commit is contained in:
parent
212550e39e
commit
55f381f121
1 changed files with 1 additions and 5 deletions
|
|
@ -268,11 +268,7 @@ public class PlayerBottomSheetFragment extends Fragment implements MusicServiceE
|
|||
|
||||
private void initMusicCommandUnfoldButton() {
|
||||
bodyBind.playerCommandUnfoldButton.setOnClickListener(view -> {
|
||||
if (bodyBind.playerCommandCardview.getVisibility() == View.INVISIBLE || bodyBind.playerCommandCardview.getVisibility() == View.GONE) {
|
||||
setPlayerCommandViewVisibility(true);
|
||||
} else {
|
||||
setPlayerCommandViewVisibility(false);
|
||||
}
|
||||
setPlayerCommandViewVisibility(bodyBind.playerCommandCardview.getVisibility() == View.INVISIBLE || bodyBind.playerCommandCardview.getVisibility() == View.GONE);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue