mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 05:52:41 +00:00
3b60506460
- update the AssetsView.qml view and delegates according to the latest design - add AssetsView to Storybook - add new section for Community Assets - (re)use the community badge with tooltip and link action to take the user to the respective community - add Community Assets info icon + popup - create context menu for token delegates with actions (Send/Receive/Manage tokens/Hide) - add confirmation popups when hiding a single or all community tokens - emit a toast bubble after hiding the token(s) - plus related controller/backend methods for handling the settings-related actions - some smaller fixes/cleanups Fixes #12369 Fixes #12372
45 lines
1.3 KiB
QML
45 lines
1.3 KiB
QML
pragma Singleton
|
|
|
|
import QtQuick 2.14
|
|
|
|
QtObject {
|
|
property var userProfileInst
|
|
property bool gifUnfurlingEnabled
|
|
property bool isWalletEnabled
|
|
property var getSelectedTextWithFormationChars
|
|
property var gifColumnA
|
|
property var currentCurrency
|
|
property bool neverAskAboutUnfurlingAgain: false
|
|
|
|
property var currencyStore: CurrenciesStore {}
|
|
property var history
|
|
|
|
property var getNetworkIcon
|
|
property var getFiatValue
|
|
property var getLatestBlockNumber
|
|
property var hex2Dec
|
|
property var getNetworkColor
|
|
property var getNetworkFullName
|
|
property var getNetworkShortName
|
|
property var formatCurrencyAmount
|
|
property var getNameForSavedWalletAddress
|
|
property var getNameForAddress
|
|
property var getEnsForSavedWalletAddress
|
|
property var getChainShortNamesForSavedWalletAddress
|
|
property var getGasEthValue
|
|
property var getNetworkLayer
|
|
|
|
function copyToClipboard(text) {
|
|
console.warn("STUB: copyToClipboard:", text)
|
|
}
|
|
|
|
function setNeverAskAboutUnfurlingAgain(value) {
|
|
console.log("STUB: setNeverAskAboutUnfurlingAgain:", value)
|
|
neverAskAboutUnfurlingAgain = value
|
|
}
|
|
|
|
function getHistoricalDataForToken(symbol, currency) {
|
|
console.log("STUB: getHistoricalDataForToken:", symbol, currency)
|
|
}
|
|
}
|