Skip to content

Commit

Permalink
fix activity tracker button_hint (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
tGecko authored Nov 17, 2023
1 parent f9c60d6 commit a352f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activity-tracker/src/view/activity_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ impl View for ActivityTracker {
KeyEvent::Pressed(Key::Y) => {
self.sort = self.sort.next();
self.button_hints
.get_mut(0)
.get_mut(1)
.unwrap()
.set_text(self.sort.button_hint(&self.res.get::<Locale>()));
self.load_entries()?;
Expand Down

0 comments on commit a352f58

Please sign in to comment.