Skip to content

Commit

Permalink
fix(YouTube): Do not crash on startup for root installation
Browse files Browse the repository at this point in the history
  • Loading branch information
LisoUseInAIKyrios committed Jan 28, 2024
1 parent aaed3a9 commit afc8177
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 afc8177

Please sign in to comment.