mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-23 04:33:54 -04:00
Refactor hotspot dialog
This commit is contained in:
parent
2e8fa3e8bf
commit
c4a6cb48a1
@ -317,7 +317,7 @@ public class ZimHostActivity extends AppCompatActivity implements
|
||||
void startHotspotDialog() {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(this, dialogStyle());
|
||||
|
||||
builder.setPositiveButton(getString(R.string.go_to_wifi_settings_label), (dialog, id) -> {
|
||||
builder.setPositiveButton(getString(R.string.go_to_settings_label), (dialog, id) -> {
|
||||
setupWifiSettingsIntent();
|
||||
});
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
<string name="hotspot_failed_title">Failed to start hotspot</string>
|
||||
<string name="hotspot_failed_message">It seems like your hotspot is already turned on. Please disable your wifi hotspot to continue.</string>
|
||||
<string name="go_to_wifi_settings_label">Go to WIFI settings</string>
|
||||
<string name="go_to_settings_label">Go to settings</string>
|
||||
<string name="hotspot_start">Starting hotspot</string>
|
||||
<string name="hotspot_running">Running Hotspot</string>
|
||||
<string name="hotspot_turned_on">Hotspot turned on</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user