mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-26 01:00:52 +02:00
Fossil Hybrid HR: move autoremove notifications settings to own xml for reusability
This commit is contained in:
parent
cff4b65fb8
commit
ecc0f78848
@ -195,6 +195,7 @@ public class QHybridCoordinator extends AbstractDeviceCoordinator {
|
||||
if (isHybridHR()) {
|
||||
return new int[]{
|
||||
R.xml.devicesettings_fossilhybridhr,
|
||||
R.xml.devicesettings_autoremove_notifications,
|
||||
R.xml.devicesettings_pairingkey,
|
||||
R.xml.devicesettings_custom_deviceicon
|
||||
};
|
||||
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="autoremove_notifications"
|
||||
android:summary="@string/pref_summary_autoremove_notifications"
|
||||
android:title="@string/pref_title_autoremove_notifications" />
|
||||
</androidx.preference.PreferenceScreen>
|
@ -80,11 +80,6 @@
|
||||
android:defaultValue="false"
|
||||
android:key="save_raw_activity_files"
|
||||
android:title="@string/pref_qhybrid_save_raw_activity_files" />
|
||||
<SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="autoremove_notifications"
|
||||
android:summary="@string/pref_summary_autoremove_notifications"
|
||||
android:title="@string/pref_title_autoremove_notifications" />
|
||||
|
||||
<SeekBarPreference
|
||||
android:defaultValue="2"
|
||||
|
Loading…
Reference in New Issue
Block a user