mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
5473e3b14e
fixes #12717
22 lines
552 B
QML
22 lines
552 B
QML
pragma Singleton
|
|
|
|
import QtQuick 2.13
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
property var dappBrowserAccount: browserSectionCurrentAccount
|
|
property var accounts: walletSectionAccounts.model
|
|
property string defaultCurrency: walletSection.currentCurrency
|
|
property string signingPhrase: walletSection.signingPhrase
|
|
|
|
function getEtherscanLink(chainID) {
|
|
return networksModule.getBlockExplorerURL(chainID)
|
|
}
|
|
|
|
function switchAccountByAddress(address) {
|
|
browserSectionCurrentAccount.switchAccountByAddress(address)
|
|
}
|
|
|
|
}
|