Simplify asynchronous tasks

This commit is contained in:
topjohnwu
2018-08-02 00:41:10 +08:00
parent 075737a4ec
commit 9ac71ff8af
19 changed files with 325 additions and 385 deletions

View File

@@ -172,7 +172,7 @@ public class MagiskFragment extends BaseFragment
// Trigger state check
if (Download.checkNetworkStatus(mm)) {
new CheckUpdates().exec();
CheckUpdates.check();
} else {
mSwipeRefreshLayout.setRefreshing(false);
}