mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 05:47:25 -04:00
hide daemon sync progress after disconnecting wallet
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
|
import moneroComponents.Wallet 1.0
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: item
|
id: item
|
||||||
@@ -46,7 +47,7 @@ Item {
|
|||||||
|
|
||||||
// TODO: lower daemon block height cache, ttl and refresh interval?
|
// TODO: lower daemon block height cache, ttl and refresh interval?
|
||||||
|
|
||||||
item.visible = (currentBlock < targetBlock)
|
item.visible = (currentWallet.connected !== Wallet.ConnectionStatus_Disconnected) && (currentBlock < targetBlock)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user