mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 11:43:43 +00:00
Dont show the go-to-thread arrow when you are in the thread
This commit is contained in:
parent
78f4950cb8
commit
b6cf7e0c3e
@ -426,7 +426,7 @@ fn render_post_actual(
|
||||
|
||||
ui.with_layout(Layout::right_to_left(Align::TOP), |ui| {
|
||||
ui.menu_button(RichText::new("≡").size(28.0), |ui| {
|
||||
if ui.button("View Thread").clicked() {
|
||||
if app.page != Page::FeedThread && ui.button("View Thread").clicked() {
|
||||
GLOBALS.feed.set_feed_to_thread(event.id);
|
||||
app.page = Page::FeedThread;
|
||||
}
|
||||
@ -448,7 +448,7 @@ fn render_post_actual(
|
||||
}
|
||||
});
|
||||
|
||||
if ui.button("➤").clicked() {
|
||||
if app.page != Page::FeedThread && ui.button("➤").clicked() {
|
||||
GLOBALS.feed.set_feed_to_thread(event.id);
|
||||
app.page = Page::FeedThread;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user