pfp: remove border except for profile
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -91,11 +91,7 @@ impl egui::Widget for SimpleProfilePreview<'_, '_> {
|
||||
fn ui(self, ui: &mut egui::Ui) -> egui::Response {
|
||||
Frame::none()
|
||||
.show(ui, |ui| {
|
||||
ui.add(
|
||||
ProfilePic::new(self.cache, get_profile_url(self.profile))
|
||||
.size(48.0)
|
||||
.border(2.0),
|
||||
);
|
||||
ui.add(ProfilePic::new(self.cache, get_profile_url(self.profile)).size(48.0));
|
||||
ui.vertical(|ui| {
|
||||
ui.add(display_name_widget(get_display_name(self.profile), true));
|
||||
if !self.is_nsec {
|
||||
|
||||
Reference in New Issue
Block a user