mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 10:23:33 +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() {
|
private void initMusicCommandUnfoldButton() {
|
||||||
bodyBind.playerCommandUnfoldButton.setOnClickListener(view -> {
|
bodyBind.playerCommandUnfoldButton.setOnClickListener(view -> {
|
||||||
if (bodyBind.playerCommandCardview.getVisibility() == View.INVISIBLE || bodyBind.playerCommandCardview.getVisibility() == View.GONE) {
|
setPlayerCommandViewVisibility(bodyBind.playerCommandCardview.getVisibility() == View.INVISIBLE || bodyBind.playerCommandCardview.getVisibility() == View.GONE);
|
||||||
setPlayerCommandViewVisibility(true);
|
|
||||||
} else {
|
|
||||||
setPlayerCommandViewVisibility(false);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue