You can now change the default zap type

Changelog-Added: You can now change the default zap type
This commit is contained in:
William Casarin
2023-04-23 10:31:51 -07:00
parent c4f41220e5
commit f5cdd4a159
4 changed files with 44 additions and 8 deletions

View File

@@ -86,7 +86,7 @@ struct ZapButton: View {
return
}
send_zap(damus_state: damus_state, event: event, lnurl: lnurl, is_custom: false, comment: nil, amount_sats: nil, zap_type: ZapType.pub)
send_zap(damus_state: damus_state, event: event, lnurl: lnurl, is_custom: false, comment: nil, amount_sats: nil, zap_type: damus_state.settings.default_zap_type)
self.zapping = true
})
.accessibilityLabel(NSLocalizedString("Zap", comment: "Accessibility label for zap button"))