-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4bbf7c6
commit 6de8947
Showing
15 changed files
with
87 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+642 KB
(22000%)
packages/legacy/app/android/app/src/main/res/mipmap-hdpi/basic_swish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+643 KB
(33000%)
packages/legacy/app/android/app/src/main/res/mipmap-mdpi/basic_swish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+641 KB
(16000%)
packages/legacy/app/android/app/src/main/res/mipmap-xhdpi/basic_swish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+639 KB
(11000%)
packages/legacy/app/android/app/src/main/res/mipmap-xxhdpi/basic_swish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+637 KB
(7800%)
packages/legacy/app/android/app/src/main/res/mipmap-xxxhdpi/basic_swish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion
2
packages/legacy/app/android/app/src/main/res/values/strings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<resources> | ||
<string name="app_name">Aries Bifold</string> | ||
<string name="app_name">FHWA</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { NavigationProp, ParamListBase } from '@react-navigation/native' | ||
import React from 'react' | ||
import { useTranslation } from 'react-i18next' | ||
import { SafeAreaView, ScrollView, StyleSheet, Text, View } from 'react-native' | ||
import QRCode from 'react-native-qrcode-svg' | ||
|
||
import Link from '../components/texts/Link' | ||
import { useTheme } from '../contexts/theme' | ||
import { Screens, Stacks } from '../types/navigators' | ||
|
||
interface WhatAreContactsProps { | ||
navigation: NavigationProp<ParamListBase> | ||
} | ||
|
||
const QRCodeGen: React.FC<WhatAreContactsProps> = () => { | ||
const { ColorPallet, TextTheme } = useTheme() | ||
const { t } = useTranslation() | ||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
alignItems: 'center', | ||
backgroundColor: ColorPallet.brand.primaryBackground, | ||
}, | ||
title: { | ||
...TextTheme.headingTwo, | ||
marginBottom: 15, | ||
}, | ||
pageContent: { | ||
marginTop: 30, | ||
paddingLeft: 25, | ||
paddingRight: 25, | ||
}, | ||
}) | ||
|
||
return ( | ||
<SafeAreaView style={styles.container}> | ||
<ScrollView | ||
contentContainerStyle={styles.pageContent} | ||
directionalLockEnabled | ||
automaticallyAdjustContentInsets={false} | ||
showsHorizontalScrollIndicator={false} | ||
> | ||
<Text style={styles.title}>Scan the QR Code</Text> | ||
<QRCode value="https://www.npmjs.com/package/react-native-qrcode-svg" size={325} /> | ||
</ScrollView> | ||
</SafeAreaView> | ||
) | ||
} | ||
|
||
export default QRCodeGen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters