public cton on NetworkChangeReceiver

This commit is contained in:
AdrianLxM 2019-10-29 22:23:23 +01:00 committed by GitHub
parent 1ab004a39e
commit 9798c9b47a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,11 +28,7 @@ public class NetworkChangeReceiver extends BroadcastReceiver {
// TODO: Split NSClient into network state component that can be used by several plugins and logic for plugin // TODO: Split NSClient into network state component that can be used by several plugins and logic for plugin
public static void fetch() { public static void fetch() {
NetworkChangeReceiver.instance.grabNetworkStatus(MainApp.instance().getApplicationContext()); new NetworkChangeReceiver().grabNetworkStatus(MainApp.instance().getApplicationContext());
}
private NetworkChangeReceiver() {
super();
} }
@Override @Override