Fix queue display in ServicePlayerActivity.

This commit is contained in:
Isira Seneviratne 2020-12-23 20:06:02 +05:30
parent bf071d65d7
commit b2e9981313
1 changed files with 2 additions and 2 deletions

View File

@ -638,12 +638,12 @@ public abstract class ServicePlayerActivity extends AppCompatActivity
case BasePlayer.STATE_COMPLETED: case BasePlayer.STATE_COMPLETED:
queueControlBinding.controlPlayPause.setClickable(true); queueControlBinding.controlPlayPause.setClickable(true);
queueControlBinding.controlPlayPause.setVisibility(View.VISIBLE); queueControlBinding.controlPlayPause.setVisibility(View.VISIBLE);
queueControlBinding.progressBar.setVisibility(View.GONE); queueControlBinding.controlProgressBar.setVisibility(View.GONE);
break; break;
default: default:
queueControlBinding.controlPlayPause.setClickable(false); queueControlBinding.controlPlayPause.setClickable(false);
queueControlBinding.controlPlayPause.setVisibility(View.INVISIBLE); queueControlBinding.controlPlayPause.setVisibility(View.INVISIBLE);
queueControlBinding.progressBar.setVisibility(View.VISIBLE); queueControlBinding.controlProgressBar.setVisibility(View.VISIBLE);
break; break;
} }
} }