moonyeju 2023-11-14
[FIX] test 코드수정
@aeb273338bed3c3a297151a5b13816a0d8d6e924
src/color.js
--- src/color.js
+++ src/color.js
@@ -3,4 +3,4 @@
 export const BLACK = '#000000';
 export const RED = '#ff0000';
 export const WHITE = '#ffffff';
-export const PRIMERY = '#16A695';
+export const PRIMERY = '#16A695'; //메인 색 -> 여기서 수정하면 모든 메인색깔 바꿀 수 있음.
src/screens/Main.js
--- src/screens/Main.js
+++ src/screens/Main.js
@@ -171,8 +171,8 @@
       <View style={styles.container}>
         <Button
           title={isDrivingStarted ? '운행 종료' : '운행 시작'}
-          // onPress={handleStartDriving}
-          onPress={toggleModal}
+          onPress={handleStartDriving}
+          // onPress={toggleModal}
           color={WHITE}
           width={'100%'}
           textAlign={'center'}
Add a comment
List