fix: don't estimate gas before when displaying sticker packs

Fixes: #1728
This commit is contained in:
Richard Ramos 2021-02-22 16:46:12 -04:00 committed by Iuri Matias
parent ae56a360c4
commit 750371a3f8
2 changed files with 5 additions and 4 deletions

View File

@ -17,10 +17,6 @@ Item {
signal updateClicked(int packId)
signal buyClicked(int packId)
Component.onCompleted: {
walletModel.getGasPricePredictions()
}
GridView {
id: availableStickerPacks
width: parent.width

View File

@ -12,6 +12,11 @@ ModalPopup {
property int stickerPackId: -1
property string packPrice
property bool showBackBtn: false
Component.onCompleted: {
walletModel.getGasPricePredictions()
}
//% "Authorize %1 %2"
title: qsTrId("authorize--1--2").arg(Utils.stripTrailingZeros(packPrice)).arg(asset.symbol)