Restore web page preview
This commit is contained in:
parent
1b345a6654
commit
fd74da2408
1 changed files with 4 additions and 4 deletions
|
@ -848,7 +848,7 @@ Page {
|
|||
active: false
|
||||
asynchronous: true
|
||||
width: parent.width
|
||||
height: messageListItem.containsWebPage ? ( (parent.width * 2 / 3) + (6 * Theme.fontSizeExtraSmall) + ( 7 * Theme.paddingSmall) ) : 0
|
||||
height: typeof display.content.web_page !== "undefined" ? ( (parent.width * 2 / 3) + (6 * Theme.fontSizeExtraSmall) + ( 7 * Theme.paddingSmall) ) : 0
|
||||
|
||||
sourceComponent: Component {
|
||||
id: webPagePreviewComponent
|
||||
|
@ -859,7 +859,7 @@ Page {
|
|||
webPagePreviewLoader.height = webPagePreview.implicitHeight;
|
||||
}
|
||||
|
||||
webPageData: messageListItem.containsWebPage ? display.content.web_page : ""
|
||||
webPageData: display.content.web_page
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue