From c32923d3ae2187512fd14004b9e04d13ae8e63c6 Mon Sep 17 00:00:00 2001 From: Kilian Finger Date: Mon, 2 Dec 2024 11:28:12 +0100 Subject: [PATCH] refactor: use sheet instead of styles --- .../examples/UserLocation/FollowUserLocationRenderMode.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/examples/src/examples/UserLocation/FollowUserLocationRenderMode.tsx b/packages/examples/src/examples/UserLocation/FollowUserLocationRenderMode.tsx index 14224be28..8d95c7d76 100755 --- a/packages/examples/src/examples/UserLocation/FollowUserLocationRenderMode.tsx +++ b/packages/examples/src/examples/UserLocation/FollowUserLocationRenderMode.tsx @@ -8,6 +8,7 @@ import { Button, Platform, Text, View } from "react-native"; import { ButtonGroup } from "../../components/ButtonGroup"; import MapSafeAreaView from "../../components/MapSafeAreaView"; import { OSM_RASTER_STYLE } from "../../constants/OSM_RASTER_STYLE"; +import { sheet } from "../../styles/sheet"; const SettingsGroup = ({ children, @@ -22,8 +23,6 @@ const SettingsGroup = ({ ); -const styles = { matchParent: { flex: 1 } }; - function humanize(name: string): string { const words = name.match(/[A-Za-z][a-z]*/g) || []; @@ -98,7 +97,7 @@ export default function FollowUserLocationRenderMode() { )}