fix(rn,sidebar) fix not appearing on RTL languages

This commit is contained in:
AJ-عجائب البرمجة 2021-08-17 14:15:22 +03:00 committed by GitHub
parent 036ef0f387
commit 8106fb06e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,6 @@ class WelcomePageSideBar extends Component<Props> {
return ( return (
<SlidingView <SlidingView
onHide = { this._onHideSideBar } onHide = { this._onHideSideBar }
position = 'left'
show = { this.props._visible } show = { this.props._visible }
style = { styles.sideBar } > style = { styles.sideBar } >
<Header style = { styles.sideBarHeader }> <Header style = { styles.sideBarHeader }>

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { StyleSheet } from 'react-native'; import { Dimensions, StyleSheet } from 'react-native';
import { BoxModel, ColorPalette } from '../../base/styles'; import { BoxModel, ColorPalette } from '../../base/styles';
@ -196,7 +196,8 @@ export default {
* Container of the side bar. * Container of the side bar.
*/ */
sideBar: { sideBar: {
width: 250 width: 250,
height: Dimensions.get('window').height
}, },
/** /**