From 887b71367bebe277740443ff4e2d0f1470d2c0ab Mon Sep 17 00:00:00 2001 From: edouardparis Date: Fri, 6 Sep 2024 14:51:29 +0200 Subject: [PATCH] Order history txs in home state --- gui/src/app/state/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/src/app/state/mod.rs b/gui/src/app/state/mod.rs index 7d45b02d..a7a9c4d1 100644 --- a/gui/src/app/state/mod.rs +++ b/gui/src/app/state/mod.rs @@ -184,6 +184,7 @@ impl State for Home { Ok(events) => { self.warning = None; self.events = events; + self.events.sort_by(|a, b| b.time.cmp(&a.time)); } }, Message::HistoryTransactionsExtension(res) => match res {