mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
5b9e4faa8a
This is required to control the resource consumption in case of no usage of wallet connect Hence we load the WebEngineView only if we have active pairings and such that SDK events are expected from the paired dapps. Also: - Moved the generic WebEngineView communication bridge to StatusQ - Added basic tests for WebEngineLoader - Add a way to know when wallet is loaded (`walletReady`) - Add storybook support for mock of nim sections as context properties Updates: #12639
20 lines
487 B
QML
20 lines
487 B
QML
import QtQuick 2.15
|
|
|
|
// Required mock of: src/app/modules/main/wallet_section/view.nim
|
|
|
|
Item {
|
|
readonly property string contextPropertyName: "walletSection"
|
|
|
|
// Required
|
|
//
|
|
readonly property bool walletReady: true
|
|
|
|
//
|
|
// Silence warnings
|
|
readonly property QtObject overview: QtObject {
|
|
readonly property string mixedcaseAddress: ""
|
|
}
|
|
readonly property ListModel mixedcaseAddress: ListModel {}
|
|
|
|
signal walletAccountRemoved(string address)
|
|
} |