Hiding mobile data dialog

This commit is contained in:
Adeel Zafar 2019-08-07 04:48:18 +05:00
parent e3c7061f31
commit 48143fadda

View File

@ -94,16 +94,16 @@ public class ZimHostActivity extends AppCompatActivity implements
toggleHotspot(); toggleHotspot();
} else { } else {
//TO DO: show Dialog() + within that add check mobile Data check later. //TO DO: show Dialog() + within that add check mobile Data check later.
if (isMobileDataEnabled(context)) { //if (isMobileDataEnabled(context)) {
mobileDataDialog(); // mobileDataDialog();
} else { //} else {
if (flag) { if (flag) {
serverStopped(); serverStopped();
isStarted = false; isStarted = false;
} else { } else {
startHotspotDialog(); startHotspotDialog();
} }
} //}
} }
} }
}); });