mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
426c116bac
Use it as import shared 1.0, import shared.controls 1.0 etc instead of import "../../../shared" Closes #3934
17 lines
369 B
QML
17 lines
369 B
QML
import QtQuick 2.13
|
|
|
|
import shared 1.0
|
|
import utils 1.0
|
|
|
|
Image {
|
|
id: faviconImage
|
|
|
|
property var currentTab
|
|
|
|
width: 24
|
|
height: 24
|
|
sourceSize: Qt.size(width, height)
|
|
// TODO find a better default favicon
|
|
source: faviconImage.currentTab && !!faviconImage.currentTab.icon.toString() ? faviconImage.currentTab.icon : Style.svg("compassActive")
|
|
}
|