Move preview controller out of account_manager.rs

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2024-05-22 16:35:17 -04:00
committed by William Casarin
parent 11b3effa51
commit bdf6156fff
4 changed files with 87 additions and 83 deletions

View File

@@ -1,6 +1,6 @@
use crate::ui::global_popup::FromApp;
use crate::{
account_manager::{AccountManager, SimpleProfilePreviewController, UserAccount},
account_manager::{AccountManager, UserAccount},
app_style::NotedeckTextStyle,
ui::{self, Preview, View},
};
@@ -8,6 +8,7 @@ use egui::{Align, Button, Frame, Id, Layout, Margin, RichText, ScrollArea, Sense
use super::global_popup::GlobalPopupType;
use super::profile::preview::SimpleProfilePreview;
use super::profile::SimpleProfilePreviewController;
use super::state_in_memory::STATE_ACCOUNT_MANAGEMENT;
pub struct AccountManagementView<'a> {