Skip to content

Commit

Permalink
add website to about page
Browse files Browse the repository at this point in the history
  • Loading branch information
nyagami committed Jun 23, 2024
1 parent 0bda5fd commit eb818ef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/screens/more/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ const AboutScreen = ({ navigation }: AboutScreenProps) => {
theme={theme}
/>
<List.Divider theme={theme} />
<List.Item
title={getString('aboutScreen.website')}
description="https://lnreader.github.io"
onPress={() => Linking.openURL('https://lnreader.github.io')}
theme={theme}
/>
<List.Item
title={getString('aboutScreen.discord')}
description="https://discord.gg/QdcWN4MD63"
Expand Down
3 changes: 2 additions & 1 deletion strings/languages/en/strings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"aboutScreen": {
"website": "Website",
"discord": "Discord",
"github": "Github",
"helpTranslate": "Help translate",
Expand Down Expand Up @@ -507,4 +508,4 @@
"updatesLower": "updates",
"updatingLibrary": "Updating library"
}
}
}
1 change: 1 addition & 0 deletions strings/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/

export interface StringMap {
'aboutScreen.website': 'string';
'aboutScreen.discord': 'string';
'aboutScreen.github': 'string';
'aboutScreen.helpTranslate': 'string';
Expand Down

0 comments on commit eb818ef

Please sign in to comment.