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

@@ -149,7 +149,9 @@ impl<'a> ProfileView<'a> {
ui.horizontal(|ui| {
ui.put(
pfp_rect,
ProfilePic::new(self.img_cache, get_profile_url(Some(&profile))).size(size),
ProfilePic::new(self.img_cache, get_profile_url(Some(&profile)))
.size(size)
.border(2.0),
);
if ui.add(copy_key_widget(&pfp_rect)).clicked() {