mirror of
https://github.com/revanced/revanced-patches.git
synced 2025-12-15 05:32:26 +01:00
Compare commits
4 Commits
v5.13.0-de
...
v5.13.0-de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6c6516b12 | ||
|
|
d6eae01e12 | ||
|
|
ba88603f4b | ||
|
|
d5aab3d464 |
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,3 +1,17 @@
|
|||||||
|
# [5.13.0-dev.6](https://github.com/ReVanced/revanced-patches/compare/v5.13.0-dev.5...v5.13.0-dev.6) (2025-02-21)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **YouTube - Navigation buttons:** Add 'Hide notifications' setting ([#4485](https://github.com/ReVanced/revanced-patches/issues/4485)) ([506d241](https://github.com/ReVanced/revanced-patches/commit/506d2414bbc760e764e5a514b32926083d6ecb6b))
|
||||||
|
|
||||||
|
# [5.13.0-dev.5](https://github.com/ReVanced/revanced-patches/compare/v5.13.0-dev.4...v5.13.0-dev.5) (2025-02-19)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **TikTok:** Resolve startup app crash ([c14bc24](https://github.com/ReVanced/revanced-patches/commit/c14bc244550de30eca975ca7c09e8eb0c47534b5))
|
||||||
|
|
||||||
# [5.13.0-dev.4](https://github.com/ReVanced/revanced-patches/compare/v5.13.0-dev.3...v5.13.0-dev.4) (2025-02-19)
|
# [5.13.0-dev.4](https://github.com/ReVanced/revanced-patches/compare/v5.13.0-dev.3...v5.13.0-dev.4) (2025-02-19)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ public enum ClientType {
|
|||||||
ANDROID_VR_NO_AUTH.clientVersion,
|
ANDROID_VR_NO_AUTH.clientVersion,
|
||||||
ANDROID_VR_NO_AUTH.requiresAuth,
|
ANDROID_VR_NO_AUTH.requiresAuth,
|
||||||
true,
|
true,
|
||||||
"Android VR"
|
"Android VR Auth"
|
||||||
);
|
);
|
||||||
|
|
||||||
private static boolean forceAVC() {
|
private static boolean forceAVC() {
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ public final class NavigationButtonsPatch {
|
|||||||
{
|
{
|
||||||
put(NavigationButton.HOME, Settings.HIDE_HOME_BUTTON.get());
|
put(NavigationButton.HOME, Settings.HIDE_HOME_BUTTON.get());
|
||||||
put(NavigationButton.CREATE, Settings.HIDE_CREATE_BUTTON.get());
|
put(NavigationButton.CREATE, Settings.HIDE_CREATE_BUTTON.get());
|
||||||
|
put(NavigationButton.NOTIFICATIONS, Settings.HIDE_NOTIFICATIONS_BUTTON.get());
|
||||||
put(NavigationButton.SHORTS, Settings.HIDE_SHORTS_BUTTON.get());
|
put(NavigationButton.SHORTS, Settings.HIDE_SHORTS_BUTTON.get());
|
||||||
put(NavigationButton.SUBSCRIPTIONS, Settings.HIDE_SUBSCRIPTIONS_BUTTON.get());
|
put(NavigationButton.SUBSCRIPTIONS, Settings.HIDE_SUBSCRIPTIONS_BUTTON.get());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -228,7 +228,9 @@ public class Settings extends BaseSettings {
|
|||||||
public static final BooleanSetting HIDE_SHORTS_BUTTON = new BooleanSetting("revanced_hide_shorts_button", TRUE, true);
|
public static final BooleanSetting HIDE_SHORTS_BUTTON = new BooleanSetting("revanced_hide_shorts_button", TRUE, true);
|
||||||
public static final BooleanSetting HIDE_SUBSCRIPTIONS_BUTTON = new BooleanSetting("revanced_hide_subscriptions_button", FALSE, true);
|
public static final BooleanSetting HIDE_SUBSCRIPTIONS_BUTTON = new BooleanSetting("revanced_hide_subscriptions_button", FALSE, true);
|
||||||
public static final BooleanSetting HIDE_NAVIGATION_BUTTON_LABELS = new BooleanSetting("revanced_hide_navigation_button_labels", FALSE, true);
|
public static final BooleanSetting HIDE_NAVIGATION_BUTTON_LABELS = new BooleanSetting("revanced_hide_navigation_button_labels", FALSE, true);
|
||||||
public static final BooleanSetting SWITCH_CREATE_WITH_NOTIFICATIONS_BUTTON = new BooleanSetting("revanced_switch_create_with_notifications_button", TRUE, true);
|
public static final BooleanSetting HIDE_NOTIFICATIONS_BUTTON = new BooleanSetting("revanced_hide_notifications_button", FALSE, true);
|
||||||
|
public static final BooleanSetting SWITCH_CREATE_WITH_NOTIFICATIONS_BUTTON = new BooleanSetting("revanced_switch_create_with_notifications_button", TRUE, true,
|
||||||
|
"revanced_switch_create_with_notifications_button_user_dialog_message");
|
||||||
public static final BooleanSetting DISABLE_TRANSLUCENT_STATUS_BAR = new BooleanSetting("revanced_disable_translucent_status_bar", FALSE, true);
|
public static final BooleanSetting DISABLE_TRANSLUCENT_STATUS_BAR = new BooleanSetting("revanced_disable_translucent_status_bar", FALSE, true);
|
||||||
public static final BooleanSetting DISABLE_TRANSLUCENT_NAVIGATION_BAR_LIGHT = new BooleanSetting("revanced_disable_translucent_navigation_bar_light", FALSE, true);
|
public static final BooleanSetting DISABLE_TRANSLUCENT_NAVIGATION_BAR_LIGHT = new BooleanSetting("revanced_disable_translucent_navigation_bar_light", FALSE, true);
|
||||||
public static final BooleanSetting DISABLE_TRANSLUCENT_NAVIGATION_BAR_DARK = new BooleanSetting("revanced_disable_translucent_navigation_bar_dark", FALSE, true);
|
public static final BooleanSetting DISABLE_TRANSLUCENT_NAVIGATION_BAR_DARK = new BooleanSetting("revanced_disable_translucent_navigation_bar_dark", FALSE, true);
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ org.gradle.jvmargs = -Xms512M -Xmx2048M
|
|||||||
org.gradle.parallel = true
|
org.gradle.parallel = true
|
||||||
android.useAndroidX = true
|
android.useAndroidX = true
|
||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 5.13.0-dev.4
|
version = 5.13.0-dev.6
|
||||||
|
|||||||
@@ -4,12 +4,11 @@ import app.revanced.patches.shared.misc.extension.extensionHook
|
|||||||
import com.android.tools.smali.dexlib2.AccessFlags
|
import com.android.tools.smali.dexlib2.AccessFlags
|
||||||
|
|
||||||
internal val initHook = extensionHook(
|
internal val initHook = extensionHook(
|
||||||
insertIndexResolver = { 1 }, // Insert after call to super class.
|
insertIndexResolver = { 0 }
|
||||||
) {
|
) {
|
||||||
accessFlags(AccessFlags.PUBLIC, AccessFlags.CONSTRUCTOR)
|
|
||||||
custom { method, classDef ->
|
custom { method, classDef ->
|
||||||
classDef.endsWith("/AwemeHostApplication;") &&
|
classDef.type == "Lcom/ss/android/ugc/aweme/main/MainActivity;" &&
|
||||||
method.name == "<init>"
|
method.name == "onCreate"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ val navigationButtonsPatch = bytecodePatch(
|
|||||||
SwitchPreference("revanced_hide_shorts_button"),
|
SwitchPreference("revanced_hide_shorts_button"),
|
||||||
SwitchPreference("revanced_hide_create_button"),
|
SwitchPreference("revanced_hide_create_button"),
|
||||||
SwitchPreference("revanced_hide_subscriptions_button"),
|
SwitchPreference("revanced_hide_subscriptions_button"),
|
||||||
|
SwitchPreference("revanced_hide_notifications_button"),
|
||||||
SwitchPreference("revanced_switch_create_with_notifications_button"),
|
SwitchPreference("revanced_switch_create_with_notifications_button"),
|
||||||
SwitchPreference("revanced_hide_navigation_button_labels"),
|
SwitchPreference("revanced_hide_navigation_button_labels"),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -587,12 +587,18 @@ Adjust volume by swiping vertically on the right side of the screen"</string>
|
|||||||
<string name="revanced_hide_subscriptions_button_title">Hide Subscriptions</string>
|
<string name="revanced_hide_subscriptions_button_title">Hide Subscriptions</string>
|
||||||
<string name="revanced_hide_subscriptions_button_summary_on">Subscriptions button is hidden</string>
|
<string name="revanced_hide_subscriptions_button_summary_on">Subscriptions button is hidden</string>
|
||||||
<string name="revanced_hide_subscriptions_button_summary_off">Subscriptions button is shown</string>
|
<string name="revanced_hide_subscriptions_button_summary_off">Subscriptions button is shown</string>
|
||||||
|
<string name="revanced_hide_notifications_button_title">Hide Notifications</string>
|
||||||
|
<string name="revanced_hide_notifications_button_summary_on">Notifications button is hidden</string>
|
||||||
|
<string name="revanced_hide_notifications_button_summary_off">Notifications button is shown</string>
|
||||||
<!-- 'Notifications' should be translated using the same localized wording YouTube displays the tab. -->
|
<!-- 'Notifications' should be translated using the same localized wording YouTube displays the tab. -->
|
||||||
<string name="revanced_switch_create_with_notifications_button_title">Switch Create with Notifications</string>
|
<string name="revanced_switch_create_with_notifications_button_title">Switch Create with Notifications</string>
|
||||||
<string name="revanced_switch_create_with_notifications_button_summary_on">"Create button is switched with Notifications button
|
<string name="revanced_switch_create_with_notifications_button_summary_on">"Create button is switched with Notifications button
|
||||||
|
|
||||||
Note: Enabling this also forcibly hides video ads"</string>
|
Note: Enabling this also forcibly hides video ads"</string>
|
||||||
<string name="revanced_switch_create_with_notifications_button_summary_off">Create button is not switched with Notifications button</string>
|
<string name="revanced_switch_create_with_notifications_button_summary_off">Create button is not switched with Notifications button</string>
|
||||||
|
<string name="revanced_switch_create_with_notifications_button_user_dialog_message">"Disabling this setting will also disable Shorts ad blocking.
|
||||||
|
|
||||||
|
If changing this setting does not take effect, try switching to Incognito mode."</string>
|
||||||
<string name="revanced_hide_navigation_button_labels_title">Hide navigation button labels</string>
|
<string name="revanced_hide_navigation_button_labels_title">Hide navigation button labels</string>
|
||||||
<string name="revanced_hide_navigation_button_labels_summary_on">Labels are hidden</string>
|
<string name="revanced_hide_navigation_button_labels_summary_on">Labels are hidden</string>
|
||||||
<string name="revanced_hide_navigation_button_labels_summary_off">Labels are shown</string>
|
<string name="revanced_hide_navigation_button_labels_summary_off">Labels are shown</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user