Skip to content

Commit

Permalink
feat(client): remove label
Browse files Browse the repository at this point in the history
Signed-off-by: Sacha Froment <sfroment42@gmail.com>
  • Loading branch information
sfroment committed Mar 21, 2019
1 parent 8428458 commit 4d811db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Expand Up @@ -191,8 +191,7 @@ const options = {
defaultNavigationOptions: handleBothNavigationsOptions,
tabBarOptions: {
showIcon: true,
showLabel: true,
upperCaseLabel: false,
showLabel: false,
activeTintColor: colors.fakeBlack,
inactiveTintColor: colors.lightGrey,
indicatorStyle: {
Expand All @@ -204,12 +203,12 @@ const options = {
borderTopWidth: 0.5,
borderTopColor: colors.borderGrey,
shadowColor: colors.shadowGrey,
shadowOffset: { height: -5, width: 0 },
shadowOffset: { height: Platform.OS === 'web' ? 0 : -5, width: 0 },
shadowOpacity: 0.2,
shadowRadius: 5,
shadowRadius: Platform.OS === 'web' ? 5 : 3,
...(Platform.OS === 'android'
? { height: 68, paddingTop: 3 }
: { height: 64, paddingTop: 5, paddingBottom: 6 }),
? { height: 54, paddingTop: 3 }
: { height: 50.500, paddingTop: 5, paddingBottom: 6 }),
},
],
},
Expand Down
4 changes: 2 additions & 2 deletions client/react-native/common/components/Screens/Chats/Detail.js
Expand Up @@ -235,7 +235,7 @@ class Input extends PureComponent {
align='center'
style={
Platform.OS === 'web'
? [{ position: 'absolute', bottom: 0, left: 0, right: 0 }, shadow]
? [{ borderTopWidth: 0.5, borderTopColor: colors.borderGrey, position: 'absolute', bottom: 0, left: 0, right: 0 }, shadow]
: [shadow]
}
>
Expand Down Expand Up @@ -354,7 +354,7 @@ class Detail extends PureComponent {
}
</View>
)}
rightBtnIcon='settings'
rightBtnIcon='more-vertical'
onPressRightBtn={() =>
navigation.navigate('chats/settings', {
conversation: navigation.state.params,
Expand Down

0 comments on commit 4d811db

Please sign in to comment.