fixed the SponsorBlock icon in the player so it displays the correct initial image

This commit is contained in:
polymorphicshade 2022-07-11 13:26:58 -06:00
parent c413299a40
commit 5140eb36b2

View file

@ -3145,8 +3145,6 @@ public final class Player implements
updateStreamRelatedViews();
showHideKodiButton();
setBlockSponsorsButton(binding.switchSponsorBlocking);
binding.titleTextView.setText(info.getName());
binding.channelTextView.setText(info.getUploaderName());
@ -3188,6 +3186,8 @@ public final class Player implements
? SponsorBlockMode.ENABLED
: SponsorBlockMode.DISABLED);
}
setBlockSponsorsButton(binding.switchSponsorBlocking);
}
private void updateMetadataWith(@NonNull final StreamInfo streamInfo) {