mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-13 07:45:39 +00:00
feat(CommunitiesPortal): show placeholder when no search results
Closes: #7299
This commit is contained in:
parent
e70fecaf2d
commit
4452574c24
@ -161,6 +161,16 @@ StatusSectionLayout {
|
||||
|
||||
onCardClicked: d.navigateToCommunity(communityId)
|
||||
}
|
||||
|
||||
StatusBaseText {
|
||||
anchors.top: parent.top
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.topMargin: parent.height / 3.1
|
||||
visible: d.searchMode && searchModel.count === 0
|
||||
text: qsTr("No communities found")
|
||||
color: Theme.palette.baseColor1
|
||||
font.pixelSize: 15
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user