Skip to content

Commit

Permalink
use RelayDebugView
Browse files Browse the repository at this point in the history
Signed-off-by: kernelkind <kernelkind@gmail.com>
  • Loading branch information
kernelkind committed Dec 30, 2024
1 parent 5cce715 commit d619b39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/notedeck_chrome/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use notedeck::{

use enostr::RelayPool;
use nostrdb::{Config, Ndb, Transaction};
use notedeck_columns::ui::relay_debug::RelayDebugView;
use std::cell::RefCell;
use std::path::Path;
use std::rc::Rc;
Expand Down Expand Up @@ -97,7 +98,7 @@ impl eframe::App for Notedeck {

egui::CentralPanel::default().show(ctx, |ui| {
if let Some(debug) = &mut self.pool.debug {
// TODO: add debugger view
RelayDebugView::new(debug).ui(ui);
}
});

Expand Down
1 change: 1 addition & 0 deletions crates/notedeck_columns/src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pub mod note;
pub mod preview;
pub mod profile;
pub mod relay;
pub mod relay_debug;
pub mod settings;
pub mod side_panel;
pub mod support;
Expand Down

0 comments on commit d619b39

Please sign in to comment.