clippy: quick lint fix

This commit is contained in:
William Casarin
2025-05-19 15:28:58 -07:00
parent 163abe891a
commit e75eb5ffd5

View File

@@ -125,7 +125,7 @@ impl<'a> CustomZapView<'a> {
}
fn is_valid_zap(amount: Option<u64>) -> bool {
amount.map_or(false, |sats| sats > 0)
amount.is_some_and(|sats| sats > 0)
}
fn show_title(ui: &mut egui::Ui) {