Skip to content

Commit

Permalink
FlatList for Switches, and visbible
Browse files Browse the repository at this point in the history
  • Loading branch information
K committed Nov 21, 2024
1 parent 1798a8b commit 82b6083
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 @@ -92,7 +92,7 @@ export default function Map() {
<NoteMarker event={event} key={event.event.sig} />
))}
</MapView>
<View style={{ position: 'absolute', top: 10, left: 10, zIndex: 1 }}>
<View style={{ position: "absolute", top: 10, left: 10, zIndex: 1 }}>
<FlatList
data={Object.entries(MAP_LAYERS) as [MAP_LAYER_KEY, MapLayer][]}
keyExtractor={([key]) => key}
Expand Down

0 comments on commit 82b6083

Please sign in to comment.