ui: introduce profile picture widget

We are starting to use profile pics in different places, let's make it a
widget. We'll also probably need to have adjustable sizes and such soon.

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-04-21 16:49:49 -07:00
parent 863ccd866b
commit 24633b84bb
4 changed files with 98 additions and 72 deletions

View File

@@ -6,7 +6,7 @@ pub mod username;
pub use note::Note;
pub use preview::{Preview, PreviewApp};
pub use profile::ProfilePreview;
pub use profile::{ProfilePic, ProfilePreview};
pub use relay::RelayView;
pub use username::Username;