mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 19:46:50 +00:00
Remove the number from the Back button
This commit is contained in:
parent
72195bda1b
commit
8e6028c36a
@ -575,8 +575,6 @@ fn render_post_actual(
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
ui.add_space(4.0);
|
|
||||||
|
|
||||||
if is_main_event {
|
if is_main_event {
|
||||||
thin_red_separator(ui);
|
thin_red_separator(ui);
|
||||||
}
|
}
|
||||||
|
@ -254,8 +254,7 @@ impl eframe::App for GossipUi {
|
|||||||
|
|
||||||
egui::TopBottomPanel::top("menu").show(ctx, |ui| {
|
egui::TopBottomPanel::top("menu").show(ctx, |ui| {
|
||||||
ui.horizontal(|ui| {
|
ui.horizontal(|ui| {
|
||||||
let len = self.history.len();
|
let back_label_text = RichText::new("‹ Back");
|
||||||
let back_label_text = RichText::new(format!("< Back {}", len));
|
|
||||||
let label = if self.history.is_empty() {
|
let label = if self.history.is_empty() {
|
||||||
Label::new(back_label_text.weak())
|
Label::new(back_label_text.weak())
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user