notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 658f2fdf429b3b30043f202054bdf29db8dad45a
parent 684bc5f913e5d67c623bfe5668b1c0fee13ee238
Author: William Casarin <jb55@jb55.com>
Date:   Thu,  6 Jul 2023 19:36:29 -0700

remove bg_color

Diffstat:
Msrc/app.rs | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/app.rs b/src/app.rs @@ -5,7 +5,7 @@ use crate::ui::padding; use crate::Result; use egui::containers::scroll_area::ScrollBarVisibility; use egui::widgets::Spinner; -use egui::{Color32, Context, Frame, TextureHandle, TextureId}; +use egui::{Context, Frame, TextureHandle, TextureId}; use enostr::{ClientMessage, EventId, Filter, Profile, Pubkey, RelayEvent, RelayMessage}; use poll_promise::Promise; use std::collections::{HashMap, HashSet}; @@ -48,7 +48,6 @@ pub struct Damus { events: Vec<EventId>, img_cache: ImageCache, - bg_color: Color32, } impl Default for Damus { @@ -61,7 +60,6 @@ impl Default for Damus { events: vec![], img_cache: HashMap::new(), n_panels: 1, - bg_color: Color32::from_rgb(31, 31, 31), } } }