Skip to content

Commit

Permalink
修复 SeekBar 预设范围异常的问
Browse files Browse the repository at this point in the history
  • Loading branch information
lingqiqi5211 committed Jul 27, 2023
1 parent b59b33e commit f3eaf82
Show file tree
Hide file tree
Showing 29 changed files with 155 additions and 411 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ jobs:
ESCAPED="$(cat ${{ github.workspace }}/git_log | gawk '{gsub(/[_*[\]()~`>#+=\|{}.!-]/,"\\\\\\\\&")}1' | sed -e 's|"|\\"|g' -e 's|^[0-9a-z]\+|__&__|' | hexdump -v -e '/1 "%02X"' | sed 's/\(..\)/%\1/g')"
cd ${{ github.workspace }}
curl -v "https://api.telegram.org/bot${BOT_TOKEN}/sendMediaGroup?chat_id=${GROUP_ID}&message_thread_id=${MESSAGE_THREAD_ID}&media=%5B%7B%22type%22%3A%22document%22%2C%20%22media%22%3A%22attach%3A%2F%2Fcanary%22%2C%22parse_mode%22%3A%22MarkdownV2%22%2C%22caption%22%3A%22${ESCAPED}%22%7D%5D" -F canary="@${CANARY}"
# curl -v "https://api.telegram.org/bot${BOT_TOKEN}/sendMediaGroup?chat_id=${CHANNEL_ID}&media=%5B%7B%22type%22%3A%22document%22%2C%20%22media%22%3A%22attach%3A%2F%2Fcanary%22%2C%22parse_mode%22%3A%22MarkdownV2%22%2C%22caption%22%3A%22${ESCAPED}%22%7D%5D" -F canary="@${CANARY}"
curl -v "https://api.telegram.org/bot${BOT_TOKEN}/sendMediaGroup?chat_id=${CHANNEL_ID}&media=%5B%7B%22type%22%3A%22document%22%2C%20%22media%22%3A%22attach%3A%2F%2Fcanary%22%2C%22parse_mode%22%3A%22MarkdownV2%22%2C%22caption%22%3A%22${ESCAPED}%22%7D%5D" -F canary="@${CANARY}"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Android 11 ~ 13 的 MIUI 12.5 ~ 14
- [「DexKit」 by LuckyPray](https://github.com/LuckyPray/DexKit)
- [「Disable app link verify」 by Xposed-Modules-Repo](https://github.com/Xposed-Modules-Repo/io.github.tehcneko.applinkverify)
- [「DisableFlagSecure」 by LSPosed](https://github.com/LSPosed/DisableFlagSecure)
- [「DisableLogRequest」 by QueallyTech](https://github.com/QueallyTech/DisableLogRequest)
- [「EzXHelper」 by KyuubiRan](https://github.com/KyuubiRan/EzXHelper)
- [「FixMiuiMediaControlPanel」 by qqlittleice](https://github.com/qqlittleice/FixMiuiMediaControlPanel)
- [「HideMiuiClipboardDialog」 by zerorooot](https://github.com/zerorooot/HideMiuiClipboardDialog)
Expand Down
1 change: 1 addition & 0 deletions README_en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ MIUI 12.5 ~ 14 for Android 11 ~ 13
- [「DexKit」 by LuckyPray](https://github.com/LuckyPray/DexKit)
- [「Disable app link verify」 by Xposed-Modules-Repo](https://github.com/Xposed-Modules-Repo/io.github.tehcneko.applinkverify)
- [「DisableFlagSecure」 by LSPosed](https://github.com/LSPosed/DisableFlagSecure)
- [「DisableLogRequest」 by QueallyTech](https://github.com/QueallyTech/DisableLogRequest)
- [「EzXHelper」 by KyuubiRan](https://github.com/KyuubiRan/EzXHelper)
- [「FixMiuiMediaControlPanel」 by qqlittleice](https://github.com/qqlittleice/FixMiuiMediaControlPanel)
- [「HideMiuiClipboardDialog」 by zerorooot](https://github.com/zerorooot/HideMiuiClipboardDialog)
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import android.widget.SeekBar;

import com.sevtinge.cemiuiler.R;
import com.sevtinge.cemiuiler.prefs.SeekBarPreferenceEx;
import moralnorm.preference.SeekBarPreferenceEx;
import com.sevtinge.cemiuiler.ui.base.BaseSettingsActivity;
import com.sevtinge.cemiuiler.ui.fragment.base.SettingsPreferenceFragment;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@

import moralnorm.preference.DropDownPreference;
import moralnorm.preference.Preference;
import moralnorm.preference.SeekBarPreference;
import moralnorm.preference.SeekBarPreferenceEx;
import moralnorm.preference.SwitchPreference;

public class HomeFolderSettings extends SettingsPreferenceFragment {

DropDownPreference mFolderShade;
SeekBarPreference mFolderShadeLevel;
SeekBarPreferenceEx mFolderShadeLevel;

SeekBarPreference mFolderColumns;
SeekBarPreferenceEx mFolderColumns;
SwitchPreference mFolderWidth;
SwitchPreference mFolderSpace;
Preference mSmallFolderIconBackgroundCustom;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@

import moralnorm.preference.ColorPickerPreference;
import moralnorm.preference.Preference;
import moralnorm.preference.SeekBarPreference;
import moralnorm.preference.SeekBarPreferenceEx;
import moralnorm.preference.SwitchPreference;

public class CustomBackgroundSettings extends SettingsPreferenceFragment implements Preference.OnPreferenceChangeListener {

private SeekBarPreference mBlurRadius;
private SeekBarPreferenceEx mBlurRadius;
private SwitchPreference mBlurEnabled;

private ColorPickerPreference mColor;
private SeekBarPreference mColorAlpha;
private SeekBarPreference mCornerRadius;
private SeekBarPreferenceEx mColorAlpha;
private SeekBarPreferenceEx mCornerRadius;

private String mBlurRadiusKey;
private String mBlurEnabledKey;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import android.widget.SeekBar;

import com.sevtinge.cemiuiler.R;
import com.sevtinge.cemiuiler.prefs.SeekBarPreferenceEx;
import moralnorm.preference.SeekBarPreferenceEx;
import com.sevtinge.cemiuiler.ui.base.BaseSettingsActivity;
import com.sevtinge.cemiuiler.ui.fragment.base.SettingsPreferenceFragment;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import android.view.View;

import com.sevtinge.cemiuiler.R;
import com.sevtinge.cemiuiler.prefs.SeekBarPreferenceEx;
import moralnorm.preference.SeekBarPreferenceEx;
import com.sevtinge.cemiuiler.ui.base.BaseSettingsActivity;
import com.sevtinge.cemiuiler.ui.fragment.base.SettingsPreferenceFragment;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@

import moralnorm.preference.DropDownPreference;
import moralnorm.preference.Preference;
import moralnorm.preference.SeekBarPreference;
import moralnorm.preference.SeekBarPreferenceEx;
import moralnorm.preference.SwitchPreference;

public class IconManageSettings extends SettingsPreferenceFragment {

Preference UseNewHD;
DropDownPreference IconNewHD;
DropDownPreference mAlarmClockIcon;
SeekBarPreference mAlarmClockIconN;
SeekBarPreference mNotificationIconMaximum;
SeekBarPreferenceEx mAlarmClockIconN;
SeekBarPreferenceEx mNotificationIconMaximum;
SwitchPreference mBatteryNumber;
SwitchPreference mBatteryPercentage;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import com.sevtinge.cemiuiler.ui.base.BaseSettingsActivity;
import com.sevtinge.cemiuiler.ui.fragment.base.SettingsPreferenceFragment;

import moralnorm.preference.SeekBarPreference;
import moralnorm.preference.SeekBarPreferenceEx;

public class NetworkSpeedIndicatorSettings extends SettingsPreferenceFragment {

SeekBarPreference mNetworkSpeedWidth; // 固定宽度
SeekBarPreferenceEx mNetworkSpeedWidth; // 固定宽度

@Override
public int getContentResId() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
import com.sevtinge.cemiuiler.utils.PrefsUtils;

import moralnorm.preference.DropDownPreference;
import moralnorm.preference.SeekBarPreference;
import moralnorm.preference.SeekBarPreferenceEx;

public class AlertDialogSettings extends SettingsPreferenceFragment {

private DropDownPreference mDialogGravity;
private SeekBarPreference mDialogHorizontalMargin;
private SeekBarPreference mDialogBottomMargin;
private SeekBarPreferenceEx mDialogHorizontalMargin;
private SeekBarPreferenceEx mDialogBottomMargin;

@Override
public int getContentResId() {
Expand Down
Loading

0 comments on commit f3eaf82

Please sign in to comment.