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 : ""
active: true
}
asset.width: image.width
asset.height: image.height
asset.width: 30
asset.height: 30
asset.color: modelData ? modelData.color : ""
asset.name: modelData ? modelData.icon : ""
asset.isImage: asset.name.includes("data")

View File

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