package cl.monsoon.s1next.util;

import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;

import cl.monsoon.s1next.App;

public final class NetworkUtil {

    private NetworkUtil() {

    }

    public static boolean isWifiConnected() {
        ConnectivityManager connectivityManager = (ConnectivityManager)
                App.getContext().getSystemService(Context.CONNECTIVITY_SERVICE);
        NetworkInfo networkInfo = connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
        return networkInfo.isConnected();
    }
}

@@ -546,16 +546,39 @@
   return
+ networkInfo != null &&
  network

Check null for `NetworkInfo`