fix: wallet navigation on sync at integrated node

This commit is contained in:
ardocrat 2024-06-12 22:17:01 +03:00
parent 9a13276198
commit 1c13eb370b

View file

@ -616,7 +616,8 @@ impl WalletContent {
// Block navigation if wallet is repairing and integrated node is not launching
// and if wallet is closing or syncing after opening when there is no data to show.
(wallet.is_repairing() && (integrated_node_ready || !integrated_node) && !sync_error)
|| wallet.is_closing() || (sync_after_opening && !integrated_node)
|| wallet.is_closing() || (sync_after_opening &&
(!integrated_node || integrated_node_ready))
}
/// Draw wallet sync progress content.