don't show zap button if no wallet

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-05-07 14:36:56 -04:00
parent 86d2a9e2e7
commit 54c0fdb563
10 changed files with 84 additions and 58 deletions

View File

@@ -10,7 +10,7 @@ use notedeck::{NoteAction, NoteContext};
#[profiling::function]
pub fn reply_desc(
ui: &mut egui::Ui,
cur_acc: &Option<KeypairUnowned>,
cur_acc: Option<&KeypairUnowned>,
txn: &Transaction,
note_reply: &NoteReply,
note_context: &mut NoteContext,