Browse Source

[RN] Share font selections between web and native

master
Saúl Ibarra Corretgé 6 years ago
parent
commit
10163274d3

+ 0
- 1
doc/adding-an-icon.md View File

@@ -8,6 +8,5 @@
8 8
 7. Download the result in a zip file using the "download" button.
9 9
 8. Copy <code>selection.json</code> and <code>fonts/jitsi.*</code> from the zip file to <code>fonts/</code> in Jitsi Meet
10 10
 9. Copy the class for the new icon from <code>style.css</code> in the zip file to <code>css/_font.scss</code> in Jitsi Meet (do *not* copy the whole file)
11
-10. Copy the <code>selection.json</code> file to <code>react/features/base/font-icons</code> overwriting <code>jitsi.json</code>
12 11
 
13 12
 Sample commit: https://github.com/jitsi/jitsi-meet/commit/68bc819b89aec12364fcf07b81efa83a1900eed6

+ 1
- 2
react/features/base/font-icons/Icon.js View File

@@ -5,8 +5,7 @@ import { Platform } from 'react-native';
5 5
 // reflect that, it suggests the file is platform-independent.
6 6
 import { createIconSetFromIcoMoon } from 'react-native-vector-icons';
7 7
 
8
-// FIXME Share this with fonts/selection.json
9
-import icoMoonConfig from './jitsi.json';
8
+import icoMoonConfig from '../../../../fonts/selection.json';
10 9
 
11 10
 /**
12 11
  * Creates the Jitsi icon set from the ico moon project config file.

+ 0
- 1
react/features/base/font-icons/jitsi.json
File diff suppressed because it is too large
View File


Loading…
Cancel
Save