diff --git a/app/helpers/getImage.js b/app/helpers/getImage.js index 61cfed0..eb20676 100644 --- a/app/helpers/getImage.js +++ b/app/helpers/getImage.js @@ -11,7 +11,7 @@ module.exports = { uri = player.avatar_url; return {uri}; } else { - uri = require('image!AuthorAvatar'); + uri = require('../../img/AuthorAvatar.png'); return uri; } } diff --git a/ios/DribbbleApp/Images.xcassets/AuthorAvatar.imageset/AuthorAvatar.png b/img/AuthorAvatar.png similarity index 100% rename from ios/DribbbleApp/Images.xcassets/AuthorAvatar.imageset/AuthorAvatar.png rename to img/AuthorAvatar.png diff --git a/iOS/DribbbleApp/Images.xcassets/AuthorAvatar.imageset/AuthorAvatar-1.png b/img/AuthorAvatar@2x.png similarity index 100% rename from iOS/DribbbleApp/Images.xcassets/AuthorAvatar.imageset/AuthorAvatar-1.png rename to img/AuthorAvatar@2x.png diff --git a/iOS/DribbbleApp/Images.xcassets/AuthorAvatar.imageset/AuthorAvatar-2.png b/img/AuthorAvatar@3x.png similarity index 100% rename from iOS/DribbbleApp/Images.xcassets/AuthorAvatar.imageset/AuthorAvatar-2.png rename to img/AuthorAvatar@3x.png diff --git a/ios/DribbbleApp/Images.xcassets/AuthorAvatar.imageset/Contents.json b/ios/DribbbleApp/Images.xcassets/AuthorAvatar.imageset/Contents.json deleted file mode 100644 index bbdc89d..0000000 --- a/ios/DribbbleApp/Images.xcassets/AuthorAvatar.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "scale" : "1x", - "filename" : "AuthorAvatar.png" - }, - { - "idiom" : "universal", - "scale" : "2x", - "filename" : "AuthorAvatar-1.png" - }, - { - "idiom" : "universal", - "scale" : "3x", - "filename" : "AuthorAvatar-2.png" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file