mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-20 17:43:56 +00:00
Don't allow bold icons if spoofing to very old targets
This commit is contained in:
@@ -537,6 +537,12 @@ public class Settings extends BaseSettings {
|
||||
SPOOF_APP_VERSION.resetToDefault();
|
||||
}
|
||||
|
||||
if (!BaseSettings.SETTINGS_DISABLE_BOLD_ICONS.get()
|
||||
&& SPOOF_APP_VERSION_TARGET.get().compareTo("19.35.00") <= 0) {
|
||||
Logger.printInfo(() -> "Disabling bold icons that don't work with old spoof targets");
|
||||
BaseSettings.SETTINGS_DISABLE_BOLD_ICONS.save(false);
|
||||
}
|
||||
|
||||
// VR 1.61 is not selectable in the settings, and it's selected by spoof stream patch if needed.
|
||||
if (SPOOF_VIDEO_STREAMS_CLIENT_TYPE.get() == ClientType.ANDROID_VR_1_61_48) {
|
||||
SPOOF_VIDEO_STREAMS_CLIENT_TYPE.resetToDefault();
|
||||
|
||||
Reference in New Issue
Block a user