mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-23 10:27:57 +00:00
Avoid hardcoded string
This commit is contained in:
parent
5dc02bbb75
commit
2bc059c4b6
@ -15,7 +15,7 @@
|
||||
android:paddingRight="48dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="8dp"
|
||||
android:text="KDE Connect"
|
||||
android:text="@string/kde_connect"
|
||||
android:textColor="#FFF"
|
||||
android:textStyle="bold" />
|
||||
|
||||
|
@ -326,7 +326,7 @@ public class BackgroundService extends Service {
|
||||
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
|
||||
//Pre-oreo, the notification will have an empty title line without this
|
||||
notification.setContentTitle("KDE Connect");
|
||||
notification.setContentTitle(getString(R.string.kde_connect));
|
||||
}
|
||||
|
||||
if (connectedDevices.isEmpty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user