notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit cbf42c7f4bdfc10d2a81dd0b87cc921d94c7378d
parent a621b0b7b7d1ec17c31a71dfd56c485acf7558cc
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 19 Feb 2026 10:18:01 -0800

dave: remove git refresh button from status bar

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Diffstat:
Mcrates/notedeck_dave/src/ui/dave.rs | 2--
Mcrates/notedeck_dave/src/ui/git_status_ui.rs | 14--------------
2 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/crates/notedeck_dave/src/ui/dave.rs b/crates/notedeck_dave/src/ui/dave.rs @@ -1232,8 +1232,6 @@ fn status_bar_ui( None }; - git_status_ui::git_refresh_button_ui(git_status, ui); - action }) .inner diff --git a/crates/notedeck_dave/src/ui/git_status_ui.rs b/crates/notedeck_dave/src/ui/git_status_ui.rs @@ -112,20 +112,6 @@ pub fn git_status_content_ui( } } -/// Render the git refresh button. -pub fn git_refresh_button_ui(cache: &mut GitStatusCache, ui: &mut Ui) { - if ui - .add( - egui::Label::new(RichText::new("\u{21BB}").weak().size(12.0)) - .sense(egui::Sense::click()), - ) - .on_hover_text("Refresh git status") - .clicked() - { - cache.request_refresh(); - } -} - /// Render the expanded file list portion of git status. pub fn git_expanded_files_ui( cache: &GitStatusCache,