Skip to content

Commit

Permalink
added qrcode integration
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorfrois committed Jun 25, 2024
1 parent 7bfbb57 commit effb20f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/screens/AtividadeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function AtividadeScreen({ route, navigation }) {
return (
<>
{isLoading ? (
<ActivityIndicator />
<ActivityIndicator size={'large'}/>
) : (
<View style={{ flex: 1, flexDirection: 'column' }}>
<View style={{ flex: 5, backgroundColor: 'whitesmoke' }}>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/FinalScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function FinalScreen({ route, navigation }) {
});
return (
<>
<View style={{ flex: 5, backgroundColor: 'yellow' }}>
<View style={{ flex: 5, backgroundColor: 'whitesmoke' }}>
<Image style={{ height: '100%', width: 'undefined', resizeMode: 'cover' }}
// style={styles.roundImage}
source={{uri: item.thumb_img.replace('localhost', '192.168.0.12')}}
Expand Down
4 changes: 2 additions & 2 deletions src/screens/IniciarScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ export default function IniciarScreen({ route, navigation }) {
const item = route.params.item;
return (
<View style={{ flex: 1, flexDirection: 'column', backgroundColor: 'red' }}>
<View style={{ flex: 3.5, backgroundColor: 'yellow' }}>
<View style={{ flex: 3.5, backgroundColor: 'whitesmoke' }}>
<ScrollView
horizontal={true}
showsHorizontalScrollIndicator={false}>
<Image style={{ height: '100%', width: 'undefined', aspectRatio: 1, resizeMode: 'cover' }}
// style={styles.roundImage}
source={{uri: item.thumb_img.replace('localhost', '192.168.0.12')}}
source={{uri: item.thumb_img.replace('localhost', '172.26.196.22')}}
/>
</ScrollView>
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/ScanScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default function ScanScreen({ route, navigation }) {
</View>
<View style={{ flex: 9 }}>
{isLoading ? (
<ActivityIndicator />
<ActivityIndicator size={'large'} />
) : (
<Camera style={StyleSheet.absoluteFill} device={device} codeScanner={codeScanner} isActive={true} />
)}
Expand Down
2 changes: 1 addition & 1 deletion src/screens/TrilhasScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function TrilhasScreen({ navigation }) {
return (
<View style={styles.cardContainer}>
{isLoading ? (
<ActivityIndicator />
<ActivityIndicator size={'large'} />
) : (
<FlatList
data={data}
Expand Down

0 comments on commit effb20f

Please sign in to comment.