diff --git a/app/libs/appcompat-debug.aar b/app/libs/appcompat-debug.aar
index 12f8befb5..a1b99e298 100644
Binary files a/app/libs/appcompat-debug.aar and b/app/libs/appcompat-debug.aar differ
diff --git a/app/libs/preference-debug.aar b/app/libs/preference-debug.aar
index 594411978..acd215381 100644
Binary files a/app/libs/preference-debug.aar and b/app/libs/preference-debug.aar differ
diff --git a/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/main/ModuleSettingsFragment.java b/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/main/ModuleSettingsFragment.java
index 8f776eb73..d840493b8 100644
--- a/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/main/ModuleSettingsFragment.java
+++ b/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/main/ModuleSettingsFragment.java
@@ -31,6 +31,7 @@
import com.sevtinge.hyperceiler.R;
import com.sevtinge.hyperceiler.ui.activity.LauncherActivity;
import com.sevtinge.hyperceiler.ui.fragment.base.SettingsPreferenceFragment;
+import com.sevtinge.hyperceiler.ui.fragment.dashboard.DashboardFragment;
import com.sevtinge.hyperceiler.utils.BackupUtils;
import com.sevtinge.hyperceiler.utils.DialogHelper;
import com.sevtinge.hyperceiler.utils.LanguageHelper;
@@ -42,7 +43,7 @@
import fan.navigator.NavigatorFragmentListener;
import fan.preference.DropDownPreference;
-public class ModuleSettingsFragment extends SettingsPreferenceFragment
+public class ModuleSettingsFragment extends DashboardFragment
implements Preference.OnPreferenceChangeListener, NavigatorFragmentListener, IFragmentChange {
DropDownPreference mIconModePreference;
DropDownPreference mIconModeValue;
diff --git a/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/sub/CustomBackgroundSettings.java b/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/sub/CustomBackgroundSettings.java
index 78041af8d..3dcd00bac 100644
--- a/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/sub/CustomBackgroundSettings.java
+++ b/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/sub/CustomBackgroundSettings.java
@@ -30,6 +30,7 @@
import fan.preference.SeekBarPreferenceCompat;
import androidx.preference.Preference;
+import androidx.preference.SeekBarPreference;
import androidx.preference.SwitchPreference;
public class CustomBackgroundSettings extends SettingsPreferenceFragment implements Preference.OnPreferenceChangeListener {
@@ -45,10 +46,10 @@ public class CustomBackgroundSettings extends SettingsPreferenceFragment impleme
private SwitchPreference mCustomEnabledPreference;
private ColorPickerPreference mColorPickerPreference;
- private SeekBarPreferenceCompat mCornerRadiusPreference;
+ private SeekBarPreference mCornerRadiusPreference;
private SwitchPreference mBlurEnabledPreference;
- private SeekBarPreferenceCompat mBlurRadiusPreference;
+ private SeekBarPreference mBlurRadiusPreference;
@Override
public int getPreferenceScreenResId() {
@@ -96,9 +97,9 @@ public void initPrefs() {
private void loadData() {
mCustomEnabledPreference.setChecked(isCustomEnabled());
mColorPickerPreference.setColor(getColor(-1));
- //mCornerRadiusPreference.setValue(getSeekBarValue(mCornerRadiusKey, 18));
+ mCornerRadiusPreference.setValue(getSeekBarValue(mCornerRadiusKey, 18));
mBlurEnabledPreference.setChecked(isBackgroundBlurEnabled());
- //mBlurRadiusPreference.setValue(getSeekBarValue(mBlurRadiusKey, 60));
+ mBlurRadiusPreference.setValue(getSeekBarValue(mBlurRadiusKey, 60));
}
private boolean isCustomEnabled() {
diff --git a/app/src/main/res/xml/various_dialog_custom_background.xml b/app/src/main/res/xml/various_dialog_custom_background.xml
index 4d56ceefb..e342014b6 100644
--- a/app/src/main/res/xml/various_dialog_custom_background.xml
+++ b/app/src/main/res/xml/various_dialog_custom_background.xml
@@ -31,7 +31,7 @@
android:persistent="false"
android:title="@string/custom_background_color" />
-
-