Skip to content

Commit

Permalink
Add s
Browse files Browse the repository at this point in the history
  • Loading branch information
Daksh14 committed Oct 10, 2024
1 parent f14e55c commit d9e2dd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rusk-wallet/src/bin/interactive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ fn menu_addr(wallet: &Wallet<WalletFile>) -> anyhow::Result<AddrSelect> {
SyncStatus::Synced => (),
SyncStatus::NotSynced => {
action_menu = action_menu
.separator()
.separator_msg("Syncing in progress..".to_string());
}
SyncStatus::Err(e) => {
Expand All @@ -228,10 +229,11 @@ fn menu_addr(wallet: &Wallet<WalletFile>) -> anyhow::Result<AddrSelect> {
Err(e) => match e {
TryRecvError::Empty => {
action_menu = action_menu
.separator()
.separator_msg("Syncing in progress..".to_string());
}
TryRecvError::Disconnected => {
action_menu = action_menu.separator_msg(
action_menu = action_menu.separator().separator_msg(
"Channel disconnected restart the wallet for sync status".to_string(),
);
}
Expand Down

0 comments on commit d9e2dd7

Please sign in to comment.