* 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
* first draft of dark mode, still needs some work
* changed dark mode colors
* fixed more buttons in dark mode
* Ran linter and fixed a few things
* mades things more kotlin-like
* added night mode selector in settings, but doesn't seem to work
* WIP Theme settings
* Fix callback not getting called (not registered)
* added theme test
* removed useless strings
* Fix dark mode not being applied
* Our app isn't called ThemedApplication and fixed fix
* changed default theme for API versions lower than 29
* WIP splashscreen nightmode
* Added custom splashscreen
* added night mode for splashscreen
* removed useless night values
* adapted icons for dark mode
* fixed light mode colors
* fixed a few light mode color bugs
* fixed bad login button
* fixed search tabs color
* fixed weird text input in post creation
* removed hardcoded strings in settings test
* removed unnecessary margin in login activity
* replace getIntrumentation.context with getInstrumentation.targetContext in settings test
Co-authored-by: Matthieu De Beule <61561059+Wv5twkFEKh54vo4tta9yu7dHa3@users.noreply.github.com>
* Refactored myProfile page
* Total refactor of profile posts
* Merged with my-profile
* Posts displayed on profile page
* Added links to profile activity where needed
* Removed MyProfileTest with swipes
* Tests ProfileActivity from Notifications
* Add test, fix progressbar being null