aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/iitems
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-03-31 22:51:32 -0400
committerAllan Wang <me@allanwang.ca>2019-03-31 22:51:32 -0400
commitfc375400411de3e7113a296b618940ef7b2b655c (patch)
tree9ae06938cb08c59b46c1002f20e8e0730cf2938e /app/src/main/kotlin/com/pitchedapps/frost/iitems
parent3a24b8dc01ca1f20c0803aefd48ae69e0b5c3e04 (diff)
downloadfrost-fc375400411de3e7113a296b618940ef7b2b655c.tar.gz
frost-fc375400411de3e7113a296b618940ef7b2b655c.tar.bz2
frost-fc375400411de3e7113a296b618940ef7b2b655c.zip
Remove round transformations
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/iitems')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt2
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/iitems/NotificationIItem.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt
index 651a4a2a..d20e8cde 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/iitems/MenuIItem.kt
@@ -59,7 +59,7 @@ class MenuContentIItem(val data: MenuItem) :
if (iconUrl != null)
GlideApp.with(itemView)
.load(iconUrl)
- .transform(FrostGlide.roundCorner)
+ .transform(FrostGlide.circleCrop)
.into(icon.visible())
else
icon.gone()
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/iitems/NotificationIItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/iitems/NotificationIItem.kt
index e8332955..8b196a64 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/iitems/NotificationIItem.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/iitems/NotificationIItem.kt
@@ -106,7 +106,7 @@ class NotificationIItem(val notification: FrostNotif, val cookie: String) :
val glide = glide
glide.load(notif.img)
- .transform(FrostGlide.roundCorner)
+ .transform(FrostGlide.circleCrop)
.into(avatar)
if (notif.thumbnailUrl != null)
glide.load(notif.thumbnailUrl).into(thumbnail.visible())