From fcb2fbf30e1956551d0780082ad17ce70f977256 Mon Sep 17 00:00:00 2001 From: "s0wlz (Matthias Puchstein)" Date: Sun, 1 Mar 2026 19:45:52 +0100 Subject: [PATCH] [bugfix] list_countdown now sorts the returned vector because hashmap iteration is not stable --- src-tauri/src/countdown/service.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/countdown/service.rs b/src-tauri/src/countdown/service.rs index 3bd89f3..a33421e 100644 --- a/src-tauri/src/countdown/service.rs +++ b/src-tauri/src/countdown/service.rs @@ -71,6 +71,7 @@ impl CountdownService { target_instant: countdown.target_timestamp(), }) } + snapshots.sort_by(|a, b| a.id.cmp(&b.id)); Ok(snapshots) }