commit 05fe9b601262a37546ea46cbf3da2ccefcbf6f79
parent ba67d65435394a7a12d70fab6ccd0ed9af814cf1
Author: alltheseas <alltheseas@users.noreply.github.com>
Date: Mon, 10 Nov 2025 20:41:22 -0600
Run cargo fmt
Diffstat:
3 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/crates/notedeck/src/time.rs b/crates/notedeck/src/time.rs
@@ -372,7 +372,10 @@ mod tests {
fn test_future_skew_helper() {
let now = 1_000_000u64;
assert!(!is_future_timestamp(now, now));
- assert!(!is_future_timestamp(now + MAX_FUTURE_NOTE_SKEW_SECS - 1, now));
+ assert!(!is_future_timestamp(
+ now + MAX_FUTURE_NOTE_SKEW_SECS - 1,
+ now
+ ));
assert!(is_future_timestamp(
now + MAX_FUTURE_NOTE_SKEW_SECS + 1,
now
diff --git a/crates/notedeck_columns/src/actionbar.rs b/crates/notedeck_columns/src/actionbar.rs
@@ -15,12 +15,10 @@ use egui_nav::Percent;
use enostr::{FilledKeypair, NoteId, Pubkey, RelayPool};
use nostrdb::{IngestMetadata, Ndb, NoteBuilder, NoteKey, Transaction};
use notedeck::{
- get_wallet_for,
- is_future_timestamp,
+ get_wallet_for, is_future_timestamp,
note::{reaction_sent_id, ReactAction, ZapTargetAmount},
- unix_time_secs,
- Accounts, GlobalWallet, Images, NoteAction, NoteCache, NoteZapTargetOwned, UnknownIds,
- ZapAction, ZapTarget, ZappingError, Zaps,
+ unix_time_secs, Accounts, GlobalWallet, Images, NoteAction, NoteCache, NoteZapTargetOwned,
+ UnknownIds, ZapAction, ZapTarget, ZappingError, Zaps,
};
use notedeck_ui::media::MediaViewerFlags;
use tracing::error;
diff --git a/crates/notedeck_columns/src/timeline/mod.rs b/crates/notedeck_columns/src/timeline/mod.rs
@@ -9,10 +9,8 @@ use crate::{
use notedeck::{
contacts::hybrid_contacts_filter,
filter::{self, HybridFilter},
- is_future_timestamp, tr,
- unix_time_secs,
- Accounts, CachedNote, ContactState, FilterError, FilterState, FilterStates, Localization,
- NoteCache, NoteRef, UnknownIds,
+ is_future_timestamp, tr, unix_time_secs, Accounts, CachedNote, ContactState, FilterError,
+ FilterState, FilterStates, Localization, NoteCache, NoteRef, UnknownIds,
};
use egui_virtual_list::VirtualList;