Removed workaround

pull/209/head
M66B 2 years ago
parent deebbf4e6d
commit 09cc268690

@ -4712,9 +4712,6 @@ public class FragmentMessages extends FragmentBase
adapter.setCompact(compact); adapter.setCompact(compact);
adapter.setZoom(zoom); adapter.setZoom(zoom);
// Restart spinner
swipeRefresh.resetRefreshing();
if (!checkRedmiNote()) if (!checkRedmiNote())
if (!checkDoze()) if (!checkDoze())
if (!checkReporting()) if (!checkReporting())

@ -70,15 +70,6 @@ public class SwipeRefreshLayoutEx extends SwipeRefreshLayout {
setRefreshing(false); // disable, unless confirmed by folder update setRefreshing(false); // disable, unless confirmed by folder update
} }
public void resetRefreshing() {
// Restart spinner after screen off, etc
if (super.isRefreshing()) {
Log.i("Refreshing=" + refreshing + " event=reset");
super.setRefreshing(false);
super.setRefreshing(true);
}
}
@Override @Override
protected void onDetachedFromWindow() { protected void onDetachedFromWindow() {
super.onDetachedFromWindow(); super.onDetachedFromWindow();

Loading…
Cancel
Save