kopia lustrzana https://github.com/ge0rg/aprsdroid
pushed default status to strings
rodzic
c9aa5c8158
commit
f18f504506
|
@ -9,6 +9,8 @@
|
|||
|
||||
<string name="aprs_server">srvr.aprs-is.net</string>
|
||||
|
||||
<string name="default_status">http://github.com/ge0rg/aprsdroid</string>
|
||||
|
||||
<string name="service_once">APRS Service single shot.</string>
|
||||
<string name="service_start">APRS Service started. Updates every %d minutes, %d km.</string>
|
||||
<string name="service_stop">APRS Service stopped.</string>
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
<EditTextPreference
|
||||
android:key="status"
|
||||
android:hint="@string/default_status"
|
||||
android:title="@string/p_status"
|
||||
android:summary="@string/p_status_summary"
|
||||
android:dialogTitle="@string/p_status_entry" />
|
||||
|
|
|
@ -79,7 +79,7 @@ class AprsService extends Service with LocationListener {
|
|||
|
||||
val callsign = prefs.getString("callsign", null)
|
||||
val callssid = AprsPacket.formatCallSsid(callsign, prefs.getString("ssid", ""))
|
||||
val status = prefs.getString("status", "http://github.com/ge0rg/aprsdroid")
|
||||
val status = prefs.getString("status", getString(R.string.default_status))
|
||||
|
||||
val login = AprsPacket.formatLogin(prefs.getString("callsign", null),
|
||||
prefs.getString("ssid", null), prefs.getString("passcode", null))
|
||||
|
|
Ładowanie…
Reference in New Issue