commit 7ff4dc68999584811cd4ac35acf61dde3c47e55b
parent 7e88b01ae27c0415863fe38bd147ac4479e176fe
Author: William Casarin <jb55@jb55.com>
Date: Fri, 27 Feb 2026 12:06:24 -0800
chrome: remove unnecessary i32 cast in toolbar tab count
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crates/notedeck_chrome/src/chrome.rs b/crates/notedeck_chrome/src/chrome.rs
@@ -625,7 +625,7 @@ fn chrome_toolbar(ui: &mut Ui, unseen_notifications: bool) -> Option<ChromeToolb
let notif_index = next_index;
let tab_count = notif_index + 1;
- let rs = Tabs::new(tab_count as i32)
+ let rs = Tabs::new(tab_count)
.selected(0)
.hover_bg(TabColor::none())
.selected_fg(TabColor::none())