mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-18 23:56:13 -08:00
Simplify asynchronous tasks
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user