Skip to content

Commit

Permalink
fix(recents): use correct icon
Browse files Browse the repository at this point in the history
  • Loading branch information
git-f0x authored and jackpot51 committed Sep 12, 2024
1 parent 329c0d3 commit f417309
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ impl App {

nav_model = nav_model.insert(|b| {
b.text(fl!("recents"))
.icon(widget::icon::from_name("accessories-clock-symbolic"))
.icon(widget::icon::from_name("document-open-recent-symbolic"))
.data(Location::Recents)
});

Expand Down
2 changes: 1 addition & 1 deletion src/dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ impl App {

nav_model = nav_model.insert(|b| {
b.text(fl!("recents"))
.icon(widget::icon::from_name("accessories-clock-symbolic"))
.icon(widget::icon::from_name("document-open-recent-symbolic"))
.data(Location::Recents)
});

Expand Down
2 changes: 1 addition & 1 deletion src/tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2549,7 +2549,7 @@ impl Tab {
let mut row = widget::row::with_capacity(2)
.align_items(Alignment::Center)
.spacing(space_xxxs);
row = row.push(widget::icon::from_name("accessories-clock-symbolic").size(16));
row = row.push(widget::icon::from_name("document-open-recent-symbolic").size(16));
row = row.push(widget::text::heading(fl!("recents")));

children.push(
Expand Down

0 comments on commit f417309

Please sign in to comment.