mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-23 15:36:57 +00:00
Fix queue display in ServicePlayerActivity.
This commit is contained in:
parent
bf071d65d7
commit
b2e9981313
@ -638,12 +638,12 @@ public abstract class ServicePlayerActivity extends AppCompatActivity
|
||||
case BasePlayer.STATE_COMPLETED:
|
||||
queueControlBinding.controlPlayPause.setClickable(true);
|
||||
queueControlBinding.controlPlayPause.setVisibility(View.VISIBLE);
|
||||
queueControlBinding.progressBar.setVisibility(View.GONE);
|
||||
queueControlBinding.controlProgressBar.setVisibility(View.GONE);
|
||||
break;
|
||||
default:
|
||||
queueControlBinding.controlPlayPause.setClickable(false);
|
||||
queueControlBinding.controlPlayPause.setVisibility(View.INVISIBLE);
|
||||
queueControlBinding.progressBar.setVisibility(View.VISIBLE);
|
||||
queueControlBinding.controlProgressBar.setVisibility(View.VISIBLE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user