1
0
forked from GRIN/grim

ui: update banner shows the build number, not GRIM's frozen 0.3.6

The 'Update is available' fallback row rendered crate::VERSION (CARGO_PKG_VERSION = GRIM's 0.3.6) as the current version, e.g. '0.3.6 > build131' — a mismatched, GRIM-leaking string. Show the Goblin build number: 'build130 > build131'.
This commit is contained in:
2ro
2026-07-03 13:40:22 -04:00
parent d95efef896
commit 2478a7c08a
+1 -1
View File
@@ -847,7 +847,7 @@ impl WalletsContent {
let ver_text = if let Some(size) = update.size.as_ref() { let ver_text = if let Some(size) = update.size.as_ref() {
format!("{} {} ({} MB)", BOOKMARKS, update.version, size) format!("{} {} ({} MB)", BOOKMARKS, update.version, size)
} else { } else {
format!("{} {} > {}", BOOKMARKS, crate::VERSION, update.version) format!("{} build{} > {}", BOOKMARKS, crate::BUILD, update.version)
}; };
View::ellipsize_text(ui, ver_text, 15.0, Colors::text(false)); View::ellipsize_text(ui, ver_text, 15.0, Colors::text(false));
ui.add_space(1.0); ui.add_space(1.0);