We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3edf8db commit c7861ebCopy full SHA for c7861eb
1 file changed
src/map/MapScreen.tsx
@@ -157,15 +157,16 @@ export function MapScreen() {
157
<ActivityIndicator size="large" color="#1d6fe0" />
158
</View>
159
) : null}
160
- {position && !isCenteredOnUser ? (
161
- <TouchableOpacity
162
- accessibilityLabel="Recenter map on your location"
163
- accessibilityRole="button"
164
- onPress={flyToUser}
165
- style={styles.recenterButton}>
166
- <Text style={styles.recenterIcon}>◎</Text>
167
- </TouchableOpacity>
168
- ) : null}
+ <TouchableOpacity
+ accessibilityLabel="Recenter map on your location"
+ accessibilityRole="button"
+ onPress={flyToUser}
+ style={[
+ styles.recenterButton,
+ {backgroundColor: 'red', width: 120, height: 120},
+ ]}>
+ <Text style={styles.recenterIcon}>◎</Text>
169
+ </TouchableOpacity>
170
171
);
172
}
0 commit comments