Fix progres tracking spam

This commit is contained in:
Jesse Boyd 2016-12-29 10:18:48 +11:00
parent 77ea4fa37c
commit 5ffacaaf12
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -78,12 +78,6 @@ public class DefaultProgressTracker extends RunnableVal2<FaweQueue.ProgressType,
public void doneTask() { public void doneTask() {
final long time = System.currentTimeMillis() - start; final long time = System.currentTimeMillis() - start;
player.sendTitle("", BBC.PROGRESS_DONE.format(time / 1000d)); player.sendTitle("", BBC.PROGRESS_DONE.format(time / 1000d));
TaskManager.IMP.later(new Runnable() { // Run on main thread
@Override
public void run() {
doneTask();
}
}, 60);
} }
public void sendTask() { public void sendTask() {