Clean code.

This commit is contained in:
Asal Lotfi
2025-08-29 20:34:28 +03:30
parent c5164592e9
commit 3091764a3b
4 changed files with 51 additions and 66 deletions
@@ -197,7 +197,7 @@ public class SidebarMenuController {
String img = user.optString("image_url", "");
Image pic = tryLoadImage(img);
if (pic == null) {
pic = loadImage("/org/to/telegramfinalproject/Avatars/profile.png");
pic = loadImage("/org/to/telegramfinalproject/Avatars/default_profile.png");
}
if (pic != null) profileImage.setImage(pic);
}