Merge pull request #88 from the-salami/widget-fix

fix invisible back/forward buttons on widgets (#81)
This commit is contained in:
Andrew Rabert 2020-07-09 16:02:58 -04:00 committed by GitHub
commit e102dea3d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -245,6 +245,10 @@ public class AudinautWidgetProvider extends AppWidgetProvider {
views.setImageViewResource(R.id.control_play, R.drawable.widget_media_start); views.setImageViewResource(R.id.control_play, R.drawable.widget_media_start);
} }
// Set next/back button images
views.setImageViewResource(R.id.control_next, R.drawable.widget_media_forward);
views.setImageViewResource(R.id.control_previous, R.drawable.widget_media_backward);
// Set the cover art // Set the cover art
try { try {
boolean large = false; boolean large = false;