|
@@ -325,7 +325,7 @@ public class ThreatMapFragment extends Fragment implements GoogleMap.OnInfoWindo
|
|
}
|
|
}
|
|
|
|
|
|
// tell the user to enable wifi so map data can be streamed
|
|
// tell the user to enable wifi so map data can be streamed
|
|
- if (activity != null && !HelperUtils.isWifiConnected(activity)) {
|
|
|
|
|
|
+ if (activity != null && !HelperUtils.isNetworkAvailable(activity)) {
|
|
new AlertDialog.Builder(activity)
|
|
new AlertDialog.Builder(activity)
|
|
.setTitle(R.string.information)
|
|
.setTitle(R.string.information)
|
|
.setMessage(R.string.no_network_connection_threatmap_msg)
|
|
.setMessage(R.string.no_network_connection_threatmap_msg)
|