mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
Hiding mobile data dialog
This commit is contained in:
parent
e3c7061f31
commit
48143fadda
@ -94,16 +94,16 @@ public class ZimHostActivity extends AppCompatActivity implements
|
||||
toggleHotspot();
|
||||
} else {
|
||||
//TO DO: show Dialog() + within that add check mobile Data check later.
|
||||
if (isMobileDataEnabled(context)) {
|
||||
mobileDataDialog();
|
||||
} else {
|
||||
//if (isMobileDataEnabled(context)) {
|
||||
// mobileDataDialog();
|
||||
//} else {
|
||||
if (flag) {
|
||||
serverStopped();
|
||||
isStarted = false;
|
||||
} else {
|
||||
startHotspotDialog();
|
||||
}
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user