Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added title to the navBar #100

Merged
merged 1 commit into from
Jun 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/.expo/packager-info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"devToolsPort": 19002,
"expoServerPort": null,
"packagerPort": 19000,
"packagerPort": null,
"packagerPid": null,
"expoServerNgrokUrl": null,
"packagerNgrokUrl": null,
Expand Down
9 changes: 9 additions & 0 deletions src/screens/map/DimensionScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ import { Confirm } from '../../components/Confirm'
import Colors from '../../constants/Colors'
import { ProfileButton } from '../../components/ProfileButton'
import { Navbar } from '../../components/Navbar'
import { TTSengine } from '../../components/Tts'

const log = Log.create('DimensionScreen')

/**
* @private TTS Ref
*/
const Tts = TTSengine.component()

/**
* @private stylesheet
*/
Expand Down Expand Up @@ -102,6 +108,9 @@ const DimensionScreen = props => {
borderColor: Colors.dark
}}
/>
<View style={{ width: '55%' }}>
<Tts text='Dimension' color={Colors.secondary} id='dimensionScreen.headerTitle' paddingTop={10} smallButton />
</View>
<ProfileButton onPress={() => props.navigation.navigate('Profile')} />
</Navbar>
{renderDimensions()}
Expand Down
9 changes: 9 additions & 0 deletions src/screens/map/MapScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ import { Confirm } from '../../components/Confirm'
import Colors from '../../constants/Colors'
import { ProfileButton } from '../../components/ProfileButton'
import { Navbar } from '../../components/Navbar'
import { TTSengine } from '../../components/Tts'

const log = Log.create('MapScreen')

/**
* @private TTS Ref
*/
const Tts = TTSengine.component()

/**
* @private stylesheet
*/
Expand Down Expand Up @@ -182,6 +188,9 @@ const MapScreen = props => {
borderColor: Colors.dark
}}
/>
<View style={{ width: '50%' }}>
<Tts text='Map' color={Colors.secondary} id='mapScreen.headerTitle' paddingTop={10} smallButton />
</View>
<ProfileButton onPress={() => props.navigation.navigate('Profile')} />
</Navbar>
<SafeAreaView style={styles.safeAreaView}>
Expand Down