aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-01-11 21:37:37 -0800
committerAllan Wang <me@allanwang.ca>2021-01-11 21:37:37 -0800
commit520b1b98f589a890b26b067fa281b82440a7e040 (patch)
tree6cce4dfbd8f7e249c81d2897b26ebc651dd755ae /app/src/main/kotlin
parent9cb8215f5397cf5db390efce794012205022b772 (diff)
downloadfrost-520b1b98f589a890b26b067fa281b82440a7e040.tar.gz
frost-520b1b98f589a890b26b067fa281b82440a7e040.tar.bz2
frost-520b1b98f589a890b26b067fa281b82440a7e040.zip
Add github link in place of email support
Diffstat (limited to 'app/src/main/kotlin')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/activities/SettingsActivity.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/SettingsActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/SettingsActivity.kt
index d086b24c..aac714ce 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/activities/SettingsActivity.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/SettingsActivity.kt
@@ -245,6 +245,7 @@ class SettingsActivity : KPrefActivity() {
toolbar.tint(prefs.iconColor)
setMenuIcons(
menu, prefs.iconColor,
+ R.id.action_github to CommunityMaterial.Icon2.cmd_github,
R.id.action_changelog to GoogleMaterial.Icon.gmd_info
)
return true
@@ -252,6 +253,7 @@ class SettingsActivity : KPrefActivity() {
override fun onOptionsItemSelected(item: MenuItem): Boolean {
when (item.itemId) {
+ R.id.action_github -> startLink(R.string.github_url)
R.id.action_changelog -> frostChangelog()
else -> return super.onOptionsItemSelected(item)
}