Completely reset the watch timeout to 0 when loading from the bg.

Avoids the timeout being way too high when returning to the app.
multisite
Floens 9 years ago
parent 6c7baf9b40
commit 7f6c405b8f
  1. 1
      Clover/app/src/main/java/org/floens/chan/core/manager/WatchManager.java

@ -686,6 +686,7 @@ public class WatchManager {
if (!pin.isError && pin.watching) { if (!pin.isError && pin.watching) {
if (fromBackground) { if (fromBackground) {
// Always load regardless of timer, since the time left is not accurate for 15min+ intervals // Always load regardless of timer, since the time left is not accurate for 15min+ intervals
chanLoader.clearTimer();
chanLoader.requestMoreData(); chanLoader.requestMoreData();
return true; return true;
} else { } else {

Loading…
Cancel
Save