Browse Source

same issue for individual services. see prev commit

Fabio Arnold 10 năm trước cách đây
mục cha
commit
d1a3571848

+ 1 - 1
src/de/tudarmstadt/informatik/hostage/ui/adapter/ServicesListAdapter.java

@@ -108,7 +108,7 @@ public class ServicesListAdapter extends ArrayAdapter<ServicesListItem> {
                         mProfile = ProfileManager.getInstance().getCurrentActivatedProfile();
                         //SK: Temp bugfix
                         //if (!HelperUtils.isNetworkAvailable(mActivity)) {
-                        if (!HelperUtils.isWifiConnected(mActivity)) {
+                        if (isChecked && !HelperUtils.isWifiConnected(mActivity)) {
                             if(!MainActivity.getInstance().getHostageService().hasRunningListeners()) {
                                 new AlertDialog.Builder(mActivity)
                                         .setTitle(R.string.information)