@@ -25,22 +25,22 @@ export default function LocationDetails({ data }: { data: GeoPosition | undefine
2525 < SettGroup title = 'Location Details' >
2626 < SettOption
2727 title = 'Latitude'
28- Icon = { < RoundIcon Icon = { LongitudeIcon } className = 'bg- blue-500 ' /> }
28+ Icon = { < RoundIcon Icon = { LongitudeIcon } gradient = ' blue' /> }
2929 Right = { < Txt skeleton = { latitude === undefined } > { getLatitude ( latitude || 0 ) } </ Txt > }
3030 />
3131 < SettOption
3232 title = 'Longitude'
33- Icon = { < RoundIcon Icon = { LatitudeIcon } className = 'bg- green-500 ' /> }
33+ Icon = { < RoundIcon Icon = { LatitudeIcon } gradient = ' green' /> }
3434 Right = { < Txt skeleton = { longitude === undefined } > { getLongitude ( longitude || 0 ) } </ Txt > }
3535 />
3636 < SettOption
3737 title = 'Accuracy'
38- Icon = { < RoundIcon Icon = { DashboardSpeed02Icon } className = 'bg- rose-500 ' /> }
38+ Icon = { < RoundIcon Icon = { DashboardSpeed02Icon } gradient = ' rose' /> }
3939 Right = { < Txt skeleton = { accuracy === undefined } > { accuracy ?. toFixed ( 0 ) } m</ Txt > }
4040 />
4141 < SettOption
4242 title = 'Altitude'
43- Icon = { < RoundIcon Icon = { EarthIcon } className = 'bg- blue-500 ' /> }
43+ Icon = { < RoundIcon Icon = { EarthIcon } gradient = ' blue' /> }
4444 Right = {
4545 < Txt skeleton = { altitude === undefined } >
4646 { altitude ?. toFixed ( 0 ) } m ± { altitudeAccuracy ?. toFixed ( 0 ) } m
@@ -49,12 +49,12 @@ export default function LocationDetails({ data }: { data: GeoPosition | undefine
4949 />
5050 { /* <SettOption
5151 title='Speed'
52- Icon={<RoundIcon Icon={Rocket01Icon} className='bg- orange-500 ' />}
52+ Icon={<RoundIcon Icon={Rocket01Icon} gradient=' orange' />}
5353 Right={<Txt skeleton={speed === undefined}>{speed?.toFixed(0)} m/s</Txt>}
5454 /> */ }
5555 < SettOption
5656 title = 'Timestamp'
57- Icon = { < RoundIcon Icon = { Timer02Icon } className = 'bg- accent' /> }
57+ Icon = { < RoundIcon Icon = { Timer02Icon } gradient = ' accent' /> }
5858 Right = { < Txt skeleton = { timestamp === undefined } > { new Date ( timestamp || 0 ) . toLocaleString ( ) } </ Txt > }
5959 />
6060 </ SettGroup >
@@ -63,15 +63,15 @@ export default function LocationDetails({ data }: { data: GeoPosition | undefine
6363 < SettGroup title = 'Actions' >
6464 < SettOption
6565 title = 'View on Map'
66- Icon = { < RoundIcon Icon = { MapsLocation02Icon } className = 'bg- green-500 ' /> }
66+ Icon = { < RoundIcon Icon = { MapsLocation02Icon } gradient = ' green' /> }
6767 onPress = { ( ) =>
6868 Linking . openURL ( `https://www.google.com/maps/search/?api=1&query=${ latitude } ,${ longitude } ` )
6969 }
7070 arrow
7171 />
7272 < SettOption
7373 title = 'Share Location'
74- Icon = { < RoundIcon Icon = { Sent02Icon } className = 'bg- blue-500 ' /> }
74+ Icon = { < RoundIcon Icon = { Sent02Icon } gradient = ' blue' /> }
7575 onPress = { ( ) =>
7676 Share . share ( {
7777 message : shareMessage ( latitude || 0 , longitude || 0 , timestamp ) ,
0 commit comments