Skip to content

Commit dc46288

Browse files
committed
Navigation enhancements
1 parent 5ab937f commit dc46288

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/navigation/AppNavigation.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ const MainNavigator = createDrawerNavigator(
124124
contentOptions: {
125125
activeTintColor: THEME.PRIMARY_COLOR,
126126
labelStyle: {
127-
fontFamily: 'open-regular'
128-
}
127+
fontFamily: 'open-regular',
128+
},
129129
}
130130
}
131131
)

src/screens/AboutScreen.js

+7-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const AboutScreen = () => {
88
return (
99
<View style={styles.center}>
1010
<Text>About Screen</Text>
11+
<Text>
12+
Application version <Text style={styles.version}>0.1.0</Text>
13+
</Text>
1114
</View>
1215
)
1316
}
@@ -25,11 +28,13 @@ AboutScreen.navigationOptions = ({ navigation }) => ({
2528
)
2629
})
2730

28-
2931
const styles = StyleSheet.create({
3032
center: {
3133
flex: 1,
3234
alignItems: 'center',
33-
justifyContent: 'center',
35+
justifyContent: 'center'
36+
},
37+
version: {
38+
fontFamily: 'open-bold'
3439
}
3540
})

0 commit comments

Comments
 (0)