use preview

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-01-03 17:22:11 -05:00
parent eac24ac982
commit 4baa7b2ef3
3 changed files with 5 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ use notedeck_chrome::setup::generate_native_options;
use notedeck_chrome::Notedeck; use notedeck_chrome::Notedeck;
use notedeck_columns::ui::configure_deck::ConfigureDeckView; use notedeck_columns::ui::configure_deck::ConfigureDeckView;
use notedeck_columns::ui::edit_deck::EditDeckView; use notedeck_columns::ui::edit_deck::EditDeckView;
use notedeck_columns::ui::profile::EditProfileView;
use notedeck_columns::ui::{ use notedeck_columns::ui::{
account_login_view::AccountLoginView, PostView, Preview, PreviewApp, PreviewConfig, ProfilePic, account_login_view::AccountLoginView, PostView, Preview, PreviewApp, PreviewConfig, ProfilePic,
ProfilePreview, RelayView, ProfilePreview, RelayView,
@@ -95,5 +96,6 @@ async fn main() {
PostView, PostView,
ConfigureDeckView, ConfigureDeckView,
EditDeckView, EditDeckView,
EditProfileView,
); );
} }

View File

@@ -23,6 +23,7 @@ mod nav;
mod notes_holder; mod notes_holder;
mod post; mod post;
mod profile; mod profile;
mod profile_state;
pub mod relay_pool_manager; pub mod relay_pool_manager;
mod route; mod route;
mod subscriptions; mod subscriptions;

View File

@@ -1,3 +1,4 @@
pub mod edit;
pub mod picture; pub mod picture;
pub mod preview; pub mod preview;
@@ -5,6 +6,7 @@ use crate::profile::get_display_name;
use crate::ui::note::NoteOptions; use crate::ui::note::NoteOptions;
use crate::{colors, images}; use crate::{colors, images};
use crate::{notes_holder::NotesHolder, NostrName}; use crate::{notes_holder::NotesHolder, NostrName};
pub use edit::EditProfileView;
use egui::load::TexturePoll; use egui::load::TexturePoll;
use egui::{vec2, Color32, Label, Layout, Rect, RichText, Rounding, ScrollArea, Sense, Stroke}; use egui::{vec2, Color32, Label, Layout, Rect, RichText, Rounding, ScrollArea, Sense, Stroke};
use enostr::Pubkey; use enostr::Pubkey;