Przeglądaj źródła

threatmap display network connection missing also when 3G is not available

Fabio Arnold 10 lat temu
rodzic
commit
7789c532c1

+ 1 - 1
src/de/tudarmstadt/informatik/hostage/ui2/fragment/ThreatMapFragment.java

@@ -325,7 +325,7 @@ public class ThreatMapFragment extends Fragment implements GoogleMap.OnInfoWindo
 		}
 
 		// 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)
 					.setTitle(R.string.information)
 					.setMessage(R.string.no_network_connection_threatmap_msg)