Skip to content

Commit

Permalink
fix: music-microg-support patch causes YT settings to crash inotia0…
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Apr 28, 2023
1 parent 08da369 commit fd55c4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ internal object MusicResourceHelper {

private fun ResourceContext.replacePackageName(){
this[YOUTUBE_MUSIC_SETTINGS_PATH].writeText(
this[YOUTUBE_MUSIC_SETTINGS_PATH].readText().replace("\"com.google.android.apps.youtube.music", "\"" + targetPackage)
this[YOUTUBE_MUSIC_SETTINGS_PATH].readText().replace("\"com.google.android.apps.youtube.music\"", "\"" + targetPackage + "\"")
)
}

Expand Down

0 comments on commit fd55c4b

Please sign in to comment.