Display version number

This commit is contained in:
KoalaSat 2023-01-29 12:18:20 +01:00
parent db20032365
commit d36a51991c
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157
5 changed files with 12 additions and 5 deletions

View File

@ -16,5 +16,5 @@ jobs:
- name: 'Post to Nostr'
run: |
go install github.com/fiatjaf/noscl@latest
noscl setprivate ${{ secrets.NOSTROS_PRIVATE_KEY }}
noscl publish ${{ github.event.release.body }}
~/go/bin/noscl setprivate ${{ secrets.NOSTROS_PRIVATE_KEY }}
~/go/bin/noscl publish ${{ github.event.release.body }}

View File

@ -27,8 +27,8 @@ Local setup: https://github.com/KoalaSat/nostros/blob/main/SETUP.md
- [x] Sensitive content flag
- [x] Multirelay management
- [x] Bech-32 keys
- [X] Public Feed
- [X] Block users and content
- [x] Public Feed
- [x] Block users and content
- [ ] Channels
- [ ] Deep Links
- [ ] Search

View File

@ -3,6 +3,7 @@ import { useTranslation } from 'react-i18next'
import { FlatList, Linking, ListRenderItem, StyleSheet } from 'react-native'
import { Divider, List, Text, useTheme } from 'react-native-paper'
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'
import VersionNumber from 'react-native-version-number'
interface ItemList {
key: number
@ -81,7 +82,7 @@ export const AboutPage: React.FC = () => {
)}
/>
),
right: <Text>v0.2.1.6-alpha</Text>,
right: <Text>{VersionNumber.appVersion}</Text>,
onPress: () => {},
},
],

View File

@ -53,6 +53,7 @@
"react-native-svg": "^13.7.0",
"react-native-tab-view": "^3.3.4",
"react-native-vector-icons": "^9.2.0",
"react-native-version-number": "^0.3.6",
"react-native-webp-format": "^1.1.2",
"readable-stream": "^4.3.0",
"safe-buffer": "^5.2.1",

View File

@ -7283,6 +7283,11 @@ react-native-vector-icons@^9.2.0:
prop-types "^15.7.2"
yargs "^16.1.1"
react-native-version-number@^0.3.6:
version "0.3.6"
resolved "https://registry.yarnpkg.com/react-native-version-number/-/react-native-version-number-0.3.6.tgz#dd8b1435fc217df0a166d7e4a61fdc993f3e7437"
integrity sha512-TdyXiK90NiwmSbmAUlUBOV6WI1QGoqtvZZzI5zQY4fKl67B3ZrZn/h+Wy/OYIKKFMfePSiyfeIs8LtHGOZ/NgA==
react-native-webp-format@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/react-native-webp-format/-/react-native-webp-format-1.1.2.tgz#22b14f544191e9a5411c920b9874e532a6ea6c89"