feat: UI progress

This commit is contained in:
2024-10-18 13:10:47 +01:00
parent 5bed3fa86f
commit b4a6991007
22 changed files with 343 additions and 79 deletions

View File

@ -27,7 +27,7 @@ impl<'a> Avatar<'a> {
}
}
pub fn from_profile(p: Option<NdbProfile<'a>>, svc: &'a ImageCache) -> Self {
pub fn from_profile(p: &'a Option<NdbProfile<'a>>, svc: &'a ImageCache) -> Self {
let img = p
.map_or(None, |f| f.picture().map(|f| svc.load(f)));
Self {