[Sprint/UnderstoodUnicorn](fix): Explicit channel overlay #2364
Summary
Closes #2364 (closed)
This change fixes the broken explicit channel overlay, that should trigger when visiting an NSFW channel
Steps to test
- Log into the admin account (ask for pw if you don't have it saved).
- Make a channel nsfw.
- Refresh the channel.
- Mature content overlay should show.
- Check it shows from other accounts also.
- Not NSFW https://fix-explicit-overlay-channel-1130.minds.io/nemofin/
- Not NSFW https://fix-explicit-overlay-channel-1130.minds.io/minds/
- NSFW https://fix-explicit-overlay-channel-1130.minds.io/testacc2/
Estimated Regression Scope
This change affects only the overlay component, as its interior logic was failing. In the worst-case scenario, the replacement logic could have a fault that would cause issues loading channels.
Edited by Ben