nozaps: restore zap button with zap info, just make it not clickable

This commit is contained in:
William Casarin
2023-06-27 06:04:36 +02:00
parent 1a0282fe21
commit 3e274a820a
2 changed files with 13 additions and 21 deletions

View File

@@ -86,7 +86,7 @@ struct EventActionBar: View {
}
}
if !damus_state.settings.nozaps, let lnurl = self.lnurl {
if let lnurl = self.lnurl {
Spacer()
ZapButton(damus_state: damus_state, target: ZapTarget.note(id: event.id, author: event.pubkey), lnurl: lnurl, zaps: self.damus_state.events.get_cache_data(self.event.id).zaps_model)
}