Skip to content

[Sprint/UnderstoodUnicorn](fix) Read NSFW values on poster init. #2311

Ben requested to merge fix/nsfw-stored-value-2311 into master

Summary

Closes #2311 (closed)

NSFW value was not being read on init, this meant that unless checking it, the value is not respected, and thus was not applied to the post.

Steps to test

  1. Go to newsfeed and set the NSFW selector with a random selection (remember it)
  2. Switch to the wallet tab where there is no poster.
  3. Switch back to newsfeed.
  4. Observe nsfw selector shows blue but do not click it.
  5. Make a post.
  6. Post should have tags without you having to open the nsfw selector again

Estimated Regression Scope

These changes should only effect the poster, as the only code in the nsfw selector is an event being output. Only the poster component subscribes to this.

Merge request reports

Loading