status-desktop/ui/app/AppLayouts/Wallet/views/LoadingGraphView.qml
Lukáš Tinkl 9aebf588a1 fix: reduce Image cache
for everything that's not a user interface element, esp. for static/big
images or chat/message elements which get served from locally anyway from
status-go

Iterates #10339
2023-04-27 13:56:39 +02:00

44 lines
910 B
QML

import QtQuick 2.13
import QtQuick.Layouts 1.13
import QtQuick.Controls 2.14
import QtQuick.Window 2.12
import QtGraphicalEffects 1.12
import StatusQ.Components 0.1
import StatusQ.Core.Theme 0.1
import StatusQ.Core 0.1
import StatusQ.Controls 0.1
import utils 1.0
import shared.views 1.0
import shared.controls 1.0
import "../stores"
Loader {
id: root
active: false
sourceComponent: Item {
LoadingComponent {
id: loadingComp
anchors.fill: parent
visible: false
}
Image {
id: mask
source: Style.svg("mask/dummyLineGraph")
sourceSize: Qt.size(parent.width, parent.height)
smooth: true
visible: false
cache: false
}
OpacityMask {
source: loadingComp
anchors.fill: loadingComp
maskSource: mask
}
}
}