|
@@ -4,7 +4,7 @@
|
|
|
*/
|
|
*/
|
|
|
import React from 'react';
|
|
import React from 'react';
|
|
|
import { View, Pressable, Image, StyleSheet } from 'react-native';
|
|
import { View, Pressable, Image, StyleSheet } from 'react-native';
|
|
|
-import { BackButton, Styles } from '../../components/Toolbar';
|
|
|
|
|
|
|
+import Toolbar, { BackButton, Styles } from '../../components/Toolbar';
|
|
|
import { PageList } from '../Router';
|
|
import { PageList } from '../Router';
|
|
|
import BottomSiteInfo from './maps/BottomSiteInfo';
|
|
import BottomSiteInfo from './maps/BottomSiteInfo';
|
|
|
import Maps from './maps/Maps';
|
|
import Maps from './maps/Maps';
|
|
@@ -24,7 +24,7 @@ export default MapUI = ({
|
|
|
}) => {
|
|
}) => {
|
|
|
return (
|
|
return (
|
|
|
<View style={ui.flex1}>
|
|
<View style={ui.flex1}>
|
|
|
- <View style={Styles.toolbar}>
|
|
|
|
|
|
|
+ <Toolbar style={Styles.toolbar}>
|
|
|
<BackButton
|
|
<BackButton
|
|
|
style={styles.navIcon}
|
|
style={styles.navIcon}
|
|
|
onPress={() => {
|
|
onPress={() => {
|
|
@@ -53,7 +53,7 @@ export default MapUI = ({
|
|
|
color={colorPrimary}
|
|
color={colorPrimary}
|
|
|
/>
|
|
/>
|
|
|
</BackButton>
|
|
</BackButton>
|
|
|
- </View>
|
|
|
|
|
|
|
+ </Toolbar>
|
|
|
<SearchTool
|
|
<SearchTool
|
|
|
count={state.stopList?.length}
|
|
count={state.stopList?.length}
|
|
|
mapReady={state.mapReady}
|
|
mapReady={state.mapReady}
|