Skip to content

Commit

Permalink
Merge pull request #5551 from coolcarp/join-discord
Browse files Browse the repository at this point in the history
Join discord button in About
  • Loading branch information
fast4x authored Jan 31, 2025
2 parents 1633f64 + 6f4dccc commit f15a406
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ fun About() {
}
)

SettingsEntry(
title = stringResource(R.string.social_discord),
text = stringResource(R.string.social_discord_info),
onClick = {
uriHandler.openUri("https://discord.gg/y7NJwdwXEM")
}
)

SettingsEntry(
title = stringResource(R.string.social_github),
text = stringResource(R.string.view_the_source_code),
Expand Down
1 change: 1 addition & 0 deletions composeApp/src/androidMain/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@
<string name="social_reddit_info">Join the community on Reddit</string>
<string name="sleep_timer_ended">Sleep timer ended</string>
<string name="social_discord">Discord</string>
<string name="social_discord_info">Join the community on Discord</string>
<string name="discord_enable_rich_presence">Enable Rich Presence</string>
<string name="discord_disconnect">Disconnect</string>
<string name="discord_connect">Connect</string>
Expand Down

0 comments on commit f15a406

Please sign in to comment.