mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
Add string value to stop hotspot button
This commit is contained in:
parent
ad746bcb57
commit
d2885c2d62
@ -140,7 +140,8 @@ public class HotspotService extends Service {
|
||||
Intent stopIntent = new Intent(ACTION_STOP);
|
||||
PendingIntent stopHotspot =
|
||||
PendingIntent.getBroadcast(this, 0, stopIntent, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
builder.addAction(R.drawable.ic_close_white_24dp, "STOP", stopHotspot);
|
||||
builder.addAction(R.drawable.ic_close_white_24dp, getString(R.string.stop_hotspot_button),
|
||||
stopHotspot);
|
||||
}
|
||||
return (builder.build());
|
||||
}
|
||||
|
@ -30,6 +30,7 @@
|
||||
<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="stop_hotspot_button">STOP</string>
|
||||
<string name="hotspot_turned_on">Hotspot turned on</string>
|
||||
<string name="hotspot_details_message">Following are the details of your local hotspot.</string>
|
||||
<string name="hotspot_ssid_label">SSID : </string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user