Просмотр исходного кода

[RN] Fix dominant speaker and moderator indicators

They are part of the Jitsi font now, there is no need to load them from
FontAwesome.
j8
Saúl Ibarra Corretgé 6 лет назад
Родитель
Сommit
2b91745af1

+ 3
- 2
react/features/filmstrip/components/native/DominantSpeakerIndicator.js Просмотреть файл

@@ -1,6 +1,7 @@
1 1
 import React, { Component } from 'react';
2 2
 import { View } from 'react-native';
3
-import Icon from 'react-native-vector-icons/FontAwesome';
3
+
4
+import { Icon } from '../../../base/font-icons';
4 5
 
5 6
 import styles from './styles';
6 7
 
@@ -18,7 +19,7 @@ export default class DominantSpeakerIndicator extends Component {
18 19
         return (
19 20
             <View style = { styles.dominantSpeakerIndicatorBackground }>
20 21
                 <Icon
21
-                    name = 'bullhorn'
22
+                    name = 'dominant-speaker'
22 23
                     style = { styles.dominantSpeakerIndicator } />
23 24
             </View>
24 25
         );

+ 2
- 1
react/features/filmstrip/components/native/ModeratorIndicator.js Просмотреть файл

@@ -1,5 +1,6 @@
1 1
 import React, { Component } from 'react';
2
-import Icon from 'react-native-vector-icons/FontAwesome';
2
+
3
+import { Icon } from '../../../base/font-icons';
3 4
 
4 5
 import styles from './styles';
5 6
 

Загрузка…
Отмена
Сохранить