fix(YouTube Music/Hide cast button): no exception occurs when resolving a fingerprint fails

This commit is contained in:
inotia00 2023-11-16 19:23:03 +09:00
parent e5cd297cd3
commit a2ff7d8394

View File

@ -76,7 +76,7 @@ object HideCastButtonPatch : BytecodePatch(
"invoke-static {v$targetRegister}, $MUSIC_GENERAL->hideCastButton(Landroid/view/View;)V" "invoke-static {v$targetRegister}, $MUSIC_GENERAL->hideCastButton(Landroid/view/View;)V"
) )
} }
} } ?: throw PlayerOverlayChipFingerprint.exception
SettingsPatch.addMusicPreference( SettingsPatch.addMusicPreference(
CategoryType.GENERAL, CategoryType.GENERAL,