File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
domain/src/main/java/com/my/kizzy/domain/model/user Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,16 @@ val globalName: String? = null
50
50
) {
51
51
fun getAvatarImage (): String {
52
52
return if (avatar?.startsWith(" a_" ) == true )
53
- " ${DISCORD_CDN } /avatars/${id} /${avatar} .gif?size=1080 "
53
+ " ${DISCORD_CDN } /avatars/${id} /${avatar} .gif?size=512 "
54
54
else
55
- " ${DISCORD_CDN } /avatars/${id} /${avatar} .png?size=1080 "
55
+ " ${DISCORD_CDN } /avatars/${id} /${avatar} .png?size=512 "
56
56
}
57
57
fun getBannerImage (): String? {
58
58
if (banner.isNullOrEmpty()) return null
59
59
return if (banner.startsWith(" a_" ))
60
- " $DISCORD_CDN /banners/${id} /${banner} .gif?size=1080 "
60
+ " $DISCORD_CDN /banners/${id} /${banner} .gif?size=480 "
61
61
else
62
- " $DISCORD_CDN /banners/${id} /${banner} .png?size=1080 "
62
+ " $DISCORD_CDN /banners/${id} /${banner} .png?size=480 "
63
63
}
64
64
}
65
65
You can’t perform that action at this time.
0 commit comments