make optional

This commit is contained in:
jglad
2025-01-30 19:14:02 +01:00
parent a0f2521bdd
commit 803f427f77
8 changed files with 48 additions and 24 deletions

View File

@@ -266,7 +266,7 @@ impl<'a> DesktopSidePanel<'a> {
let txn = nostrdb::Transaction::new(self.ndb).expect("should be able to create txn");
let profile_url = get_account_url(&txn, self.ndb, self.selected_account);
let widget = ProfilePic::new(self.img_cache, profile_url).size(cur_pfp_size);
let widget = ProfilePic::new(self.img_cache, profile_url).size(cur_pfp_size).border(2.0);
ui.put(helper.get_animation_rect(), widget);