Преглед на файлове

fix(ios) fix drag handle not rendering with latest react-native-svg

Fill must be properly specified.
master
Saúl Ibarra Corretgé преди 4 години
родител
ревизия
dc5a776123
променени са 2 файла, в които са добавени 3 реда и са изтрити 6 реда
  1. 0
    4
      react/features/base/dialog/components/native/styles.js
  2. 3
    2
      react/features/toolbox/components/native/OverflowMenu.js

+ 0
- 4
react/features/base/dialog/components/native/styles.js Целия файл

@@ -171,10 +171,6 @@ ColorSchemeRegistry.register('BottomSheet', {
171 171
         underlayColor: ColorPalette.overflowMenuItemUnderlay
172 172
     },
173 173
 
174
-    expandIcon: {
175
-        color: schemeColor('icon')
176
-    },
177
-
178 174
     /**
179 175
      * Bottom sheet's base style.
180 176
      */

+ 3
- 2
react/features/toolbox/components/native/OverflowMenu.js Целия файл

@@ -166,8 +166,9 @@ class OverflowMenu extends PureComponent<Props, State> {
166 166
                     styles.expandMenuContainer
167 167
                 ] }>
168 168
                 <TouchableOpacity onPress = { this._onToggleMenu }>
169
-                    { /* $FlowFixMeProps */ }
170
-                    <IconDragHandle style = { this.props._bottomSheetStyles.expandIcon } />
169
+                    { /* $FlowFixMe */ }
170
+                    <IconDragHandle
171
+                        fill = { this.props._bottomSheetStyles.buttons.iconStyle.color } />
171 172
                 </TouchableOpacity>
172 173
             </View>
173 174
         );

Loading…
Отказ
Запис