Skip to content

Commit

Permalink
manager: Switch LearnMore to our websites
Browse files Browse the repository at this point in the history
Signed-off-by: GarfieldHan <[email protected]>
  • Loading branch information
pomelohan committed Jun 9, 2024
1 parent 5b5390c commit 77b0cc9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/me/bmax/apatch/ui/screen/Home.kt
Original file line number Diff line number Diff line change
Expand Up @@ -978,13 +978,12 @@ fun UpdateCard() {
@Composable
fun LearnMoreCard() {
val uriHandler = LocalUriHandler.current
val url = stringResource(R.string.home_learn_android_patch_url)

ElevatedCard {
Row(modifier = Modifier
.fillMaxWidth()
.clickable {
uriHandler.openUri(url)
uriHandler.openUri("https://apatch.top")
}
.padding(24.dp), verticalAlignment = Alignment.CenterVertically) {
Column {
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<string name="settings_check_update_summary">Automatically check for updates when opening the app</string>

<string name="home_learn_apatch">Learn APatch</string>
<string name="home_learn_android_patch_url">https://github.com/bmax121/APatch</string>
<string name="home_click_to_learn_apatch">Learn about the features of APatch and how to use</string>

<string name="about_source_code"><![CDATA[<p>View source code at %1$s<p/>Join our %2$s channel<p/>Join our %3$s group]]></string>
Expand Down

0 comments on commit 77b0cc9

Please sign in to comment.