ソースを参照

Share location screen updates

Daniel 4 ヶ月 前
コミット
1a4fb0f891

+ 9 - 3
src/screens/InAppScreens/MessagesScreen/Components/RouteB.tsx

@@ -137,12 +137,18 @@ const RouteB = () => {
 
       <View style={styles.mapActions}>
         <Button
-          children="Send my location"
+          children="Send current location"
           onPress={sendCurrentLocation}
           variant={ButtonVariants.FILL}
           disabled={loading}
         />
-        <Button children="Confirm" onPress={confirmLocation} />
+        <Button 
+          children="Send selected location" 
+          onPress={confirmLocation}
+          variant={ButtonVariants.OPACITY}
+          containerStyles={{ backgroundColor: Colors.DARK_BLUE, borderColor: Colors.DARK_BLUE, }}
+          textStyles={{ color: Colors.WHITE }} 
+          />
         <Button
           children="Close"
           onPress={() => router?.goBack()}
@@ -178,7 +184,7 @@ const styles = StyleSheet.create({
   selectedLocationMarker: {
     width: 24,
     height: 24,
-    backgroundColor: Colors.ORANGE,
+    backgroundColor: Colors.DARK_BLUE,
     borderRadius: 12,
     borderWidth: 2,
     borderColor: Colors.WHITE