diff --git a/assets/PostItem.qml b/assets/PostItem.qml index 7b0f7ae..acf270b 100644 --- a/assets/PostItem.qml +++ b/assets/PostItem.qml @@ -18,7 +18,6 @@ */ import bb.cascades 1.4 -import org.labsquare 1.0 import com.netimage 1.0 import "moment.js" as Moment import "parser.js" as Parser @@ -48,7 +47,6 @@ Container { background: (theme === VisualStyle.Bright) ? Color.create("#e9e9e9") : Color.create("#282828") ImageView { id: avatar - //url: ListItemData.user.content.avatar_image.link maxWidth: ui.du(12) maxHeight: ui.du(12) //imageSource: "asset:///icons/laughing_man.png" @@ -157,17 +155,6 @@ Container { horizontalAlignment: HorizontalAlignment.Center bottomMargin: ui.sdu(2.0) ImageView { -// url: { -// var oembed = "" -// if (typeof ListItemData.raw !== "undefined") { -// ListItemData.raw.forEach(function (item) { -// if (item["type"] == "io.pnut.core.oembed") { -// oembed = item["value"]["thumbnail_url"] -// } -// }) -// } -// return oembed -// } visible: { var isphoto = false if (typeof ListItemData.raw !== "undefined") { diff --git a/assets/ThreadPage.qml b/assets/ThreadPage.qml index 30b8ef4..f513342 100644 --- a/assets/ThreadPage.qml +++ b/assets/ThreadPage.qml @@ -18,6 +18,7 @@ */ import bb.cascades 1.4 +import com.netimage 1.0 Page { @@ -31,6 +32,7 @@ Page { Container { ListView { id: threadView + property variant listImageManager: feedImageManager dataModel: ArrayDataModel { id: threadModel } @@ -64,6 +66,12 @@ Page { return false } } + attachedObjects: [ + NetImageManager { + id: feedImageManager + cacheId: "feedImageManager" + } + ] } } diff --git a/translations/Goober.ts b/translations/Goober.ts index 3dceacf..e5cf044 100644 --- a/translations/Goober.ts +++ b/translations/Goober.ts @@ -43,52 +43,52 @@ PostItem - + Reply - + Reply All - + Delete Bookmark - + Add Bookmark - + Delete Repost - + Repost - + Quote - + View Profile - + Copy text - + Delete @@ -203,22 +203,22 @@ StreamTab - + New Post - + To Top - + To Bottom - + Reload