Skip to content

Commit

Permalink
Beginnings of fix for #712
Browse files Browse the repository at this point in the history
  • Loading branch information
ISNIT0 committed Jul 4, 2018
1 parent d808ade commit 2274d6b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ public void pauseDownload(int notificationID) {
notificationManager.notify(notificationID, notification.get(notificationID).build());
if (DownloadFragment.downloadAdapter != null) {
DownloadFragment.downloadAdapter.notifyDataSetChanged();
}
if(downloadFragment.listView != null) {
downloadFragment.listView.invalidateViews();
}
}
Expand All @@ -279,6 +281,8 @@ public boolean playDownload(int notificationID) {
notificationManager.notify(notificationID, notification.get(notificationID).build());
if (DownloadFragment.downloadAdapter != null) {
DownloadFragment.downloadAdapter.notifyDataSetChanged();
}
if(downloadFragment.listView != null) {
downloadFragment.listView.invalidateViews();
}

Expand Down

0 comments on commit 2274d6b

Please sign in to comment.