Skip to content

Commit

Permalink
Update SettingsAbout.tsx (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecnivtwelve authored Jan 7, 2025
2 parents b52afb1 + 79c6c9d commit 290437e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/views/settings/SettingsAbout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,10 @@ const SettingsAbout: Screen<"SettingsAbout"> = ({ navigation }) => {
<NativeText variant="title">
Version des dépendances
</NativeText>
{PackageJSON.dependencies["react-native"] &&
<NativeText variant="subtitle">
RN : {PackageJSON.dependencies["react-native"].split("^")[1]} | Expo : {(PackageJSON.devDependencies.expo || PackageJSON.dependencies.expo).split("^")[1]}
RN : {PackageJSON.dependencies["react-native"].split("^")[1]} | Expo : {(PackageJSON.devDependencies["expo"] || PackageJSON.dependencies["expo"]).split(/[~^]/)[1] || (PackageJSON.devDependencies["expo"] || PackageJSON.dependencies["expo"])}
</NativeText>
</NativeText>
}
</NativeItem>
</NativeList>

Expand Down

0 comments on commit 290437e

Please sign in to comment.