mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-03 06:48:20 +03:00
fixed the SponsorBlock icon in the player so it displays the correct initial image
This commit is contained in:
parent
c413299a40
commit
5140eb36b2
1 changed files with 2 additions and 2 deletions
|
@ -3145,8 +3145,6 @@ public final class Player implements
|
||||||
updateStreamRelatedViews();
|
updateStreamRelatedViews();
|
||||||
showHideKodiButton();
|
showHideKodiButton();
|
||||||
|
|
||||||
setBlockSponsorsButton(binding.switchSponsorBlocking);
|
|
||||||
|
|
||||||
binding.titleTextView.setText(info.getName());
|
binding.titleTextView.setText(info.getName());
|
||||||
binding.channelTextView.setText(info.getUploaderName());
|
binding.channelTextView.setText(info.getUploaderName());
|
||||||
|
|
||||||
|
@ -3188,6 +3186,8 @@ public final class Player implements
|
||||||
? SponsorBlockMode.ENABLED
|
? SponsorBlockMode.ENABLED
|
||||||
: SponsorBlockMode.DISABLED);
|
: SponsorBlockMode.DISABLED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setBlockSponsorsButton(binding.switchSponsorBlocking);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateMetadataWith(@NonNull final StreamInfo streamInfo) {
|
private void updateMetadataWith(@NonNull final StreamInfo streamInfo) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue