Kaynağa Gözat

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

master
AJ-عجائب البرمجة 4 yıl önce
ebeveyn
işleme
8106fb06e4
No account linked to committer's email address

+ 0
- 1
react/features/welcome/components/WelcomePageSideBar.native.js Dosyayı Görüntüle

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

+ 3
- 2
react/features/welcome/components/styles.js Dosyayı Görüntüle

@@ -1,6 +1,6 @@
1 1
 // @flow
2 2
 
3
-import { StyleSheet } from 'react-native';
3
+import { Dimensions, StyleSheet } from 'react-native';
4 4
 
5 5
 import { BoxModel, ColorPalette } from '../../base/styles';
6 6
 
@@ -196,7 +196,8 @@ export default {
196 196
      * Container of the side bar.
197 197
      */
198 198
     sideBar: {
199
-        width: 250
199
+        width: 250,
200
+        height: Dimensions.get('window').height
200 201
     },
201 202
 
202 203
     /**

Loading…
İptal
Kaydet