diff --git a/res/values/strings.xml b/res/values/strings.xml index 1802b13e..c692c0ec 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -294,7 +294,8 @@ Mute Devices - Dark mode + Device name + Dark theme More settings Per-device settings can be found under \'Plugin settings\' from within a device. Show persistent notification diff --git a/src/org/kde/kdeconnect/UserInterface/SettingsFragment.java b/src/org/kde/kdeconnect/UserInterface/SettingsFragment.java index 1b68712c..2a80d51c 100644 --- a/src/org/kde/kdeconnect/UserInterface/SettingsFragment.java +++ b/src/org/kde/kdeconnect/UserInterface/SettingsFragment.java @@ -29,6 +29,7 @@ public class SettingsFragment extends PreferenceFragmentCompat implements MainAc } TwoStatePreference createTwoStatePreferenceCompat(Context context) { + //The switch didn't work on Android 6, not sure about 7 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { return new SwitchPreference(context); } else { @@ -54,7 +55,7 @@ public class SettingsFragment extends PreferenceFragmentCompat implements MainAc return true; }); String deviceName = DeviceHelper.getDeviceName(context); - renameDevice.setTitle(R.string.device_rename_title); + renameDevice.setTitle(R.string.settings_rename); renameDevice.setSummary(deviceName); screen.addPreference(renameDevice);