change GitHubs icon depending on the background color
This commit is contained in:
parent
8116806006
commit
dfb515e103
1 changed files with 3 additions and 2 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue