aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/github/daneren2005/dsub/view/UpdateView.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/view/UpdateView.java b/src/github/daneren2005/dsub/view/UpdateView.java
index f247137d..1b4e55d8 100644
--- a/src/github/daneren2005/dsub/view/UpdateView.java
+++ b/src/github/daneren2005/dsub/view/UpdateView.java
@@ -130,7 +130,11 @@ public class UpdateView extends LinearLayout {
views.add(view);
}
}
- updateAllLive(views);
+ if(views.size() > 0) {
+ updateAllLive(views);
+ } else {
+ uiHandler.postDelayed(updateRunnable, 2000L);
+ }
} catch (Throwable x) {
Log.w(TAG, "Error when updating song views.", x);
}