mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 03:33:53 +00:00
Stop showing all events marked as 'new' (we will bring back this feature later)
This commit is contained in:
parent
33f1571535
commit
78f4950cb8
@ -356,6 +356,7 @@ fn render_post_actual(
|
||||
|
||||
// Try LayoutJob
|
||||
|
||||
/* currently all events are new because the code that stales them is now gone
|
||||
#[allow(clippy::collapsible_else_if)]
|
||||
let bgcolor = if GLOBALS.event_is_new.blocking_read().contains(&event.id) {
|
||||
if ctx.style().visuals.dark_mode {
|
||||
@ -370,6 +371,13 @@ fn render_post_actual(
|
||||
Color32::WHITE
|
||||
}
|
||||
};
|
||||
*/
|
||||
|
||||
let bgcolor = if ctx.style().visuals.dark_mode {
|
||||
Color32::BLACK
|
||||
} else {
|
||||
Color32::WHITE
|
||||
};
|
||||
|
||||
Frame::none().fill(bgcolor).show(ui, |ui| {
|
||||
ui.horizontal(|ui| {
|
||||
|
Loading…
Reference in New Issue
Block a user