Refactor hotspot dialog

This commit is contained in:
Adeel Zafar 2019-08-10 10:01:41 +05:00
parent 2e8fa3e8bf
commit c4a6cb48a1
2 changed files with 2 additions and 1 deletions

View File

@ -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();
});

View File

@ -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>