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 (
<SlidingView
onHide = { this._onHideSideBar }
position = 'left'
show = { this.props._visible }
style = { styles.sideBar } >
<Header style = { styles.sideBarHeader }>

View File

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