[RN] Fix a strange import of a feature by itself
This commit is contained in:
parent
90e7804834
commit
131e5af01e
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { View } from 'react-native';
|
import { View } from 'react-native';
|
||||||
import { CachedImage, ImageCache } from 'react-native-img-cache';
|
|
||||||
|
|
||||||
|
import { CachedImage, ImageCache } from '../../../mobile/image-cache';
|
||||||
import { Platform } from '../../react';
|
import { Platform } from '../../react';
|
||||||
import { ColorPalette } from '../../styles';
|
import { ColorPalette } from '../../styles';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { ImageCache } from 'react-native-img-cache';
|
import { ImageCache } from './';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notifies about the successful download of an <tt>Image</tt> source. The name
|
* Notifies about the successful download of an <tt>Image</tt> source. The name
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
export * from './functions';
|
export * from './functions';
|
||||||
|
export * from './react-native-img-cache';
|
||||||
|
|
||||||
import './middleware';
|
import './middleware';
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import { ImageCache } from 'react-native-img-cache';
|
|
||||||
|
|
||||||
import { APP_WILL_MOUNT } from '../../app';
|
import { APP_WILL_MOUNT } from '../../app';
|
||||||
import { CONFERENCE_FAILED, CONFERENCE_LEFT } from '../../base/conference';
|
import { CONFERENCE_FAILED, CONFERENCE_LEFT } from '../../base/conference';
|
||||||
import {
|
import {
|
||||||
|
@ -13,7 +11,8 @@ import {
|
||||||
PARTICIPANT_UPDATED
|
PARTICIPANT_UPDATED
|
||||||
} from '../../base/participants';
|
} from '../../base/participants';
|
||||||
import { MiddlewareRegistry } from '../../base/redux';
|
import { MiddlewareRegistry } from '../../base/redux';
|
||||||
import { prefetch } from '../../mobile/image-cache';
|
|
||||||
|
import { ImageCache, prefetch } from './';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The indicator which determines whether avatar URLs are to be prefetched in
|
* The indicator which determines whether avatar URLs are to be prefetched in
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
export * from './react-native-img-cache.yes.js';
|
|
@ -0,0 +1 @@
|
||||||
|
export * from './react-native-img-cache.yes.js';
|
|
@ -0,0 +1 @@
|
||||||
|
export { CachedImage, ImageCache } from 'react-native-img-cache';
|
Loading…
Reference in New Issue