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:
@@ -12,14 +12,13 @@ use crate::{
|
||||
};
|
||||
|
||||
use notedeck::{Accounts, UserAccount};
|
||||
use notedeck_ui::colors;
|
||||
|
||||
use super::{
|
||||
use notedeck_ui::{
|
||||
anim::{AnimationHelper, ICON_EXPANSION_MULTIPLE},
|
||||
configure_deck::deck_icon,
|
||||
View,
|
||||
colors, View,
|
||||
};
|
||||
|
||||
use super::configure_deck::deck_icon;
|
||||
|
||||
pub static SIDE_PANEL_WIDTH: f32 = 68.0;
|
||||
static ICON_WIDTH: f32 = 40.0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user