mirror of
https://github.com/fergalmoran/argon-react-native.git
synced 2025-12-22 09:19:26 +00:00
fixed more issues regarding font
This commit is contained in:
1
App.js
1
App.js
@@ -44,7 +44,6 @@ export default props => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function _loadResourcesAsync() {
|
function _loadResourcesAsync() {
|
||||||
console.log('bro');
|
|
||||||
return Promise.all([...cacheImages(assetImages)]);
|
return Promise.all([...cacheImages(assetImages)]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import * as Font from 'expo-font';
|
|||||||
import { createIconSetFromIcoMoon } from '@expo/vector-icons';
|
import { createIconSetFromIcoMoon } from '@expo/vector-icons';
|
||||||
import { Icon } from 'galio-framework';
|
import { Icon } from 'galio-framework';
|
||||||
|
|
||||||
import argonConfig from '../assets/font/argon.json';
|
import argonConfig from '../assets/config/argon.json';
|
||||||
const ArgonExtra = require('../assets/font/argon.ttf');
|
const ArgonExtra = require('../assets/font/argon.ttf');
|
||||||
const IconArgonExtra = createIconSetFromIcoMoon(argonConfig, 'ArgonExtra');
|
const IconArgonExtra = createIconSetFromIcoMoon(argonConfig, 'ArgonExtra');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user