nozaps: remove zap button on posts
This commit is contained in:
@@ -86,7 +86,7 @@ struct EventActionBar: View {
|
||||
}
|
||||
}
|
||||
|
||||
if let lnurl = self.lnurl {
|
||||
if !damus_state.settings.nozaps, 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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user