mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-24 05:04:50 -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();
|
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();
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user