change GitHubs icon depending on the background color

This commit is contained in:
tibbi 2022-11-12 17:59:06 +01:00
parent 8116806006
commit dfb515e103

View file

@ -74,7 +74,7 @@ class AboutActivity : BaseSimpleActivity() {
setupContributors()
setupDonate()
setupFacebook()
setupGithub()
setupGitHub()
setupReddit()
setupTelegram()
setupGetSimplePhone()
@ -246,7 +246,8 @@ class AboutActivity : BaseSimpleActivity() {
}
}
private fun setupGithub() {
private fun setupGitHub() {
about_github_icon.applyColorFilter(getProperBackgroundColor().getContrastColor())
about_github_holder.setOnClickListener {
launchViewIntent("https://github.com/SimpleMobileTools")
}