Fixes view of sub-channel icon when not in use #7582
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.








What is it?
Description of the changes in your PR
Removes a blank sub-channel icon if you watch a Peertube video and then a non-PeerTube video after.
Before/After Screenshots/Screen Record
Before:
https://peertube.co.uk/videos/watch/8afb877a-9f14-4178-b9fb-a0e0c6bfa215
At the end in the bottom right corner of the YouTube creator icon, the app still tries to show you the sub-channel icon like it would in PeerTube. This is because whey you load up a video it only checks whether it needs to create the icon for a video and never if it needs to be hidden.
After:
https://peertube.co.uk/videos/watch/e778dfb5-0bbf-4997-a02d-c8ccb241230b
At the end in the bottom right corner of the YouTube creator icon, the app no longer tries to show you the sub-channel icon.
Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence