@@ -64,6 +64,12 @@ fun AboutContent(
6464 val context = LocalContext .current
6565 val uiState by viewModel.uiState.collectAsStateWithLifecycle()
6666
67+ // Get URL strings
68+ val repositoryUrl = stringResource(id = R .string.about_repository_url)
69+ val privacyPolicyUrl = stringResource(id = R .string.about_privacy_policy_url)
70+ val reportBugsUrl = stringResource(id = R .string.about_report_bugs_url)
71+
72+
6773 // About content
6874 Column (
6975 modifier = Modifier
@@ -101,6 +107,27 @@ fun AboutContent(
101107
102108 Spacer (modifier = Modifier .height(24 .dp))
103109
110+ // Community section
111+ Text (
112+ text = " Join our Community" ,
113+ style = MaterialTheme .typography.titleMedium
114+ )
115+
116+ Spacer (modifier = Modifier .height(8 .dp))
117+
118+ val discordUrl = stringResource(id = R .string.about_discord_url)
119+ Text (
120+ text = stringResource(id = R .string.about_discord),
121+ style = MaterialTheme .typography.bodyMedium,
122+ color = MaterialTheme .colorScheme.primary,
123+ textDecoration = TextDecoration .Underline ,
124+ modifier = Modifier .clickable {
125+ openUrl(context, discordUrl)
126+ }
127+ )
128+
129+ Spacer (modifier = Modifier .height(24 .dp))
130+
104131 // Open Source section
105132 Text (
106133 text = stringResource(id = R .string.about_open_source),
@@ -114,11 +141,6 @@ fun AboutContent(
114141 style = MaterialTheme .typography.bodyLarge
115142 )
116143
117- // Get URL strings
118- val repositoryUrl = stringResource(id = R .string.about_repository_url)
119- val privacyPolicyUrl = stringResource(id = R .string.about_privacy_policy_url)
120- val reportBugsUrl = stringResource(id = R .string.about_report_bugs_url)
121-
122144 // Repository link
123145 Text (
124146 text = repositoryUrl,
0 commit comments