Skip to content

Commit

Permalink
fix(YouTube): Do not crash on startup for root installs (ReVanced#2655)
Browse files Browse the repository at this point in the history
  • Loading branch information
LisoUseInAIKyrios authored Jan 28, 2024
1 parent aaed3a9 commit 02abace
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import java.io.Closeable
@Patch(
description = "Adds settings for ReVanced to YouTube.",
dependencies = [
ChangePackageNamePatch::class,
IntegrationsPatch::class,
SettingsResourcePatch::class,
AddResourcesPatch::class
Expand Down Expand Up @@ -101,7 +100,7 @@ object SettingsPatch : BytecodePatch(
targetClass = "com.google.android.libraries.social.licenses.LicenseActivity"
) {
// The package name change has to be reflected in the intent.
ChangePackageNamePatch.setOrGetFallbackPackageName("com.google.android.apps.youtube")
ChangePackageNamePatch.setOrGetFallbackPackageName("com.google.android.youtube")
}

object PreferenceScreen : BasePreferenceScreen() {
Expand Down

0 comments on commit 02abace

Please sign in to comment.