don't show zap button if no wallet
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -229,6 +229,7 @@ impl<'a> DaveUi<'a> {
|
||||
zaps: ctx.zaps,
|
||||
pool: ctx.pool,
|
||||
job_pool: ctx.job_pool,
|
||||
current_account_has_wallet: false,
|
||||
};
|
||||
|
||||
let txn = Transaction::new(note_context.ndb).unwrap();
|
||||
@@ -253,7 +254,7 @@ impl<'a> DaveUi<'a> {
|
||||
|ui| {
|
||||
notedeck_ui::NoteView::new(
|
||||
&mut note_context,
|
||||
&None,
|
||||
None,
|
||||
¬e,
|
||||
NoteOptions::default(),
|
||||
jobs,
|
||||
|
||||
Reference in New Issue
Block a user