Don't display zeros in webpage previews
This commit is contained in:
parent
0849fadadd
commit
ed170dc374
1 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ Column {
|
||||||
id: siteNameText
|
id: siteNameText
|
||||||
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: webPageData.site_name ? Emoji.emojify(webPageData.site_name, font.pixelSize) : 0
|
text: webPageData.site_name ? Emoji.emojify(webPageData.site_name, font.pixelSize) : ""
|
||||||
font.pixelSize: Theme.fontSizeExtraSmall
|
font.pixelSize: Theme.fontSizeExtraSmall
|
||||||
font.bold: true
|
font.bold: true
|
||||||
color: Theme.secondaryHighlightColor
|
color: Theme.secondaryHighlightColor
|
||||||
|
@ -87,7 +87,7 @@ Column {
|
||||||
id: titleText
|
id: titleText
|
||||||
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: webPageData.title ? Emoji.emojify(webPageData.title, font.pixelSize) : 0
|
text: webPageData.title ? Emoji.emojify(webPageData.title, font.pixelSize) : ""
|
||||||
font.pixelSize: Theme.fontSizeExtraSmall
|
font.pixelSize: Theme.fontSizeExtraSmall
|
||||||
font.bold: true
|
font.bold: true
|
||||||
color: Theme.primaryColor
|
color: Theme.primaryColor
|
||||||
|
@ -102,7 +102,7 @@ Column {
|
||||||
id: descriptionText
|
id: descriptionText
|
||||||
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: webPageData.description ? Emoji.emojify(webPageData.description, font.pixelSize) : 0
|
text: webPageData.description ? Emoji.emojify(webPageData.description, font.pixelSize) : ""
|
||||||
font.pixelSize: Theme.fontSizeExtraSmall
|
font.pixelSize: Theme.fontSizeExtraSmall
|
||||||
color: Theme.primaryColor
|
color: Theme.primaryColor
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
|
Loading…
Reference in a new issue