fixed alligment for draftr and boomarks

This commit is contained in:
u-e 2019-01-11 13:27:51 +03:00
parent 6c60a60d86
commit c8a85e567d
5 changed files with 5 additions and 12 deletions

View File

@ -68,6 +68,5 @@ export default EStyleSheet.create({
tabView: {
alignSelf: 'center',
backgroundColor: '$primaryBackgroundColor',
flex: 1,
},
});

View File

@ -6,6 +6,7 @@ export default EStyleSheet.create({
flex: 1,
},
tabbar: {
alignSelf: 'center',
backgroundColor: '$primaryBackgroundColor',
shadowOpacity: 0.2,
shadowColor: '$shadowColor',

View File

@ -2,6 +2,7 @@ import EStyleSheet from 'react-native-extended-stylesheet';
export default EStyleSheet.create({
tabbar: {
alignSelf: 'center',
backgroundColor: '$primaryBackgroundColor',
shadowOpacity: 0.2,
shadowColor: '$shadowColor',
@ -13,7 +14,4 @@ export default EStyleSheet.create({
backgroundColor: '$primaryBackgroundColor',
minWidth: '$deviceWidth',
},
tabs: {
flex: 1,
},
});

View File

@ -43,7 +43,7 @@ class NotificationScreen extends PureComponent {
tabLabel={intl.formatMessage({
id: 'notification.notification',
})}
style={styles.notificationTab}
style={styles.tabbarItem}
>
{isLoggedIn ? (
<Notification
@ -66,7 +66,7 @@ class NotificationScreen extends PureComponent {
tabLabel={intl.formatMessage({
id: 'notification.leaderboard',
})}
style={styles.leaderboardTab}
style={styles.tabbarItem}
>
<LeaderBoard />
</View>

View File

@ -9,12 +9,7 @@ export default EStyleSheet.create({
alignSelf: 'center',
backgroundColor: '$primaryBackgroundColor',
},
notificationTab: {
flex: 1,
backgroundColor: '$primaryBackgroundColor',
minWidth: '$deviceWidth',
},
leaderboardTab: {
tabbarItem: {
flex: 1,
backgroundColor: '$primaryBackgroundColor',
minWidth: '$deviceWidth',