Skip to content

Commit

Permalink
Merge pull request #21 from SLUVisLab/hotfixCamera
Browse files Browse the repository at this point in the history
change save survey icon, fix camera swap
  • Loading branch information
austin-carnahan authored Oct 23, 2024
2 parents a8169d4 + 39d09c6 commit 7a7576f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions screens/CollectionList.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styles from '../Styles';
import { useSurveyDesign } from '../contexts/SurveyDesignContext';
import { useSurveyData } from '../contexts/SurveyDataContext';

import { MaterialIcons } from '@expo/vector-icons';
import { FontAwesome } from '@expo/vector-icons';

const CollectionList = ({ route, navigation }) => {
// Initialize the survey design context
Expand All @@ -30,7 +30,7 @@ const CollectionList = ({ route, navigation }) => {
<TouchableOpacity onPress={() => {
navigation.navigate('SaveSurvey')
}}>
<MaterialIcons name="save-alt" size={42} color="black" />
<FontAwesome name="save" size={42} color="black" />
</TouchableOpacity>
),
});
Expand Down
4 changes: 2 additions & 2 deletions tasks/photo/PhotoAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const PhotoAction = ({ navigation, existingData, onComplete, task, item, collect
<CameraView
ref={cameraRef}
style={styles.camera}
type={facing}
facing={facing}
autofocus={true}
onCameraReady={() => setIsCameraReady(true)}
>
Expand Down Expand Up @@ -163,7 +163,7 @@ const PhotoAction = ({ navigation, existingData, onComplete, task, item, collect

},
captureButton: {
backgroundColor: 'red',
backgroundColor: '#F2F2F2',
borderRadius: 50,
width: 100,
height: 100,
Expand Down

0 comments on commit 7a7576f

Please sign in to comment.