ui: move note and profile rendering to notedeck_ui
We want to render notes in other apps like dave, so lets move our note rendering to notedeck_ui. We rework NoteAction so it doesn't have anything specific to notedeck_columns Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -13,14 +13,15 @@ use crate::{
|
||||
login_manager::AcquireKeyState,
|
||||
route::Route,
|
||||
timeline::{kind::ListKind, PubkeySource, TimelineKind},
|
||||
ui::anim::ICON_EXPANSION_MULTIPLE,
|
||||
Damus,
|
||||
};
|
||||
|
||||
use notedeck::{AppContext, Images, NotedeckTextStyle, UserAccount};
|
||||
use notedeck_ui::anim::ICON_EXPANSION_MULTIPLE;
|
||||
use tokenator::{ParseError, TokenParser, TokenSerializable, TokenWriter};
|
||||
|
||||
use super::{anim::AnimationHelper, padding, widgets::styled_button, ProfilePreview};
|
||||
use crate::ui::widgets::styled_button;
|
||||
use notedeck_ui::{anim::AnimationHelper, padding, ProfilePreview};
|
||||
|
||||
pub enum AddColumnResponse {
|
||||
Timeline(TimelineKind),
|
||||
|
||||
Reference in New Issue
Block a user