Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit c1e8243

Browse files
committed
Settings: Fix SimpleMenuPreference
Signed-off-by: Fung <fython@163.com>
1 parent 2ddb570 commit c1e8243

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

mobile/src/main/java/rikka/materialpreference/FixedSimpleMenuPreference.java renamed to mobile/src/main/java/moe/shizuku/preference/FixedSimpleMenuPreference.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
package rikka.materialpreference;
1+
package moe.shizuku.preference;
22

33
import android.content.Context;
44
import android.util.AttributeSet;
55
import info.papdt.express.helper.R;
6-
import moe.shizuku.preference.SimpleMenuPreference;
76

87
/**
98
* A version of {@link ListPreference} that presents the options in a drop down menu rather than a dialog.

mobile/src/main/res/xml/settings_network.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
android:title="@string/item_notification_do_not_disturb"
88
android:summary="@string/item_notification_do_not_disturb_desc"/>
99

10-
<SimpleMenuPreference android:key="interval"
10+
<FixedSimpleMenuPreference android:key="interval"
1111
android:title="@string/item_notification_interval"
1212
android:summary="%s"
1313
android:entries="@array/notification_interval"

mobile/src/main/res/xml/settings_ui.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
android:title="@string/pref_navigation_tint"
88
android:summary="@string/pref_navigation_tint_summary"/>
99

10-
<SimpleMenuPreference android:key="night_mode"
10+
<FixedSimpleMenuPreference android:key="night_mode"
1111
android:title="@string/pref_night_mode"
1212
android:summary="%s"
1313
android:entries="@array/night_mode_choices"

0 commit comments

Comments
 (0)