Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hide content warning button when there is no content (#4518)
I encountered [this weird post](https://akko.wtf/notice/Aiz78vrg9jBNHJrvIO) today that had a content warning button but no content. <img src="https://github.com/tuskyapp/Tusky/assets/10157047/975090e1-7552-4750-97b4-1917b06aeb60" width="320"/> This change will match Mastodon behavior and hide the button when there is no content to reveal. We probably did not encounter this bug earlier because Mastodon moves the CW to the content when the content is empty, but apparently not for federated posts.
- Loading branch information