[RN] Fix a strange import of a feature by itself

This commit is contained in:
Lyubo Marinov 2017-08-18 14:52:41 -05:00
parent 90e7804834
commit 131e5af01e
7 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import React, { Component } from 'react';
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 { ColorPalette } from '../../styles';

View File

@ -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

View File

@ -1,3 +1,4 @@
export * from './functions';
export * from './react-native-img-cache';
import './middleware';

View File

@ -1,7 +1,5 @@
/* @flow */
import { ImageCache } from 'react-native-img-cache';
import { APP_WILL_MOUNT } from '../../app';
import { CONFERENCE_FAILED, CONFERENCE_LEFT } from '../../base/conference';
import {
@ -13,7 +11,8 @@ import {
PARTICIPANT_UPDATED
} from '../../base/participants';
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

View File

@ -0,0 +1 @@
export * from './react-native-img-cache.yes.js';

View File

@ -0,0 +1 @@
export * from './react-native-img-cache.yes.js';

View File

@ -0,0 +1 @@
export { CachedImage, ImageCache } from 'react-native-img-cache';