mirror of
https://gitlab.shinice.net/pixeldroid/PixelDroid
synced 2025-02-02 16:46:46 +01:00
Samuel Dietz
5fadfd2e8e
Sensitive media (#162)
* utility functions to censor and decensor a post image * added Text warning about sensitive content * adapt layout based on Sensitive attribute, censor and decensor * try to perform clicks on sensitive image * small refactor of status for sensitive layout * testing censor Matrices functions * perform test on sensitive post * modified so second post is sensitive * hide sensitiveWarning from albums for now * hide totaly the image * perform visibility check on sensitive warning textView * deleted tests using activityScenario.onActivity as they return true on assert(false) * commented dummy test for matrix censoring * implemented sensitive layout for multiple pictures posts * remove diplay check before click * now testing visibility of textView * deleted faulty lines i hope * bring back dummy check for matrices * everything is now sensitive, testing on tab post * implemented matcher for second item * implemented tests for tabs and classic sensitive layout using custom matcher Second * cleaning in JSON values, put sensitive true on posts * hide sensitive posts behind red triangle * centered background triangle * corrected indentation * extracted sensitive string in string.xml
Description
Un client Android libero per Pixelfed, la piattaforma di condivisione di immagini federata.
https://pixelfed.uno
Languages
Kotlin
99.9%
Shell
0.1%