fix broken contact/chat images in StatusSearchListPopup

Fixes: #7409
This commit is contained in:
Lukáš Tinkl 2022-09-18 14:31:44 +02:00 committed by Lukáš Tinkl
parent 9bbbdc828b
commit d7cfa3318c
2 changed files with 3 additions and 8 deletions

View File

@ -1084,8 +1084,8 @@ Item {
name: modelData ? modelData.name : "" name: modelData ? modelData.name : ""
active: true active: true
} }
asset.width: image.width asset.width: 30
asset.height: image.height asset.height: 30
asset.color: modelData ? modelData.color : "" asset.color: modelData ? modelData.color : ""
asset.name: modelData ? modelData.icon : "" asset.name: modelData ? modelData.icon : ""
asset.isImage: asset.name.includes("data") asset.isImage: asset.name.includes("data")

View File

@ -55,12 +55,7 @@ Popup {
leftPadding: 0 leftPadding: 0
rightPadding: 0 rightPadding: 0
placeholderText: root.searchBoxPlaceholder placeholderText: root.searchBoxPlaceholder
input.asset: StatusAssetSettings { input.asset.name: "search"
width: 24
height: 24
name: "search"
color: Theme.palette.baseColor1
}
function goToNextAvailableIndex(up) { function goToNextAvailableIndex(up) {
var currentIndex = listView.currentIndex var currentIndex = listView.currentIndex