Skip to content

Commit

Permalink
moving switches to the left
Browse files Browse the repository at this point in the history
  • Loading branch information
K committed Nov 25, 2024
1 parent 762129c commit 6bc5bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nr-app/src/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ export default function Map() {
keyExtractor={([key]) => key}
renderItem={({ item: [key, config] }) => (
<View style={styles.toggleContainer}>
<Text>{config.title}</Text>
<Switch
value={enabledLayers[key]}
onValueChange={() => void dispatch(toggleLayer(key))}
/>
<Text>{config.title} </Text>
</View>
)}
/>
Expand Down

0 comments on commit 6bc5bfe

Please sign in to comment.