make Widget impl ProfilePic mutably
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -60,7 +60,7 @@ impl<'a> EditProfileView<'a> {
|
||||
});
|
||||
ui.put(
|
||||
pfp_rect,
|
||||
ProfilePic::new(self.img_cache, pfp_url)
|
||||
&mut ProfilePic::new(self.img_cache, pfp_url)
|
||||
.size(size)
|
||||
.border(ProfilePic::border_stroke(ui)),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user