From 085295d5dbda84ff02221cc65bd472fff69e636e Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 8 Jul 2017 19:21:13 -0400 Subject: Dev 1.2.1 (#43) - Revamp notifications * Test proguard * Test proguard without enums * Allow notifications from only current account * Prettify notifications * Clean up layouts * Test proguard log * Update rxkotlin * Update remaining dependencies --- app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/kotlin/com/pitchedapps/frost/views') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt index 0fb9dbbb..5186b46c 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/views/AccountItem.kt @@ -21,6 +21,7 @@ import com.pitchedapps.frost.R import com.pitchedapps.frost.dbflow.CookieModel import com.pitchedapps.frost.facebook.PROFILE_PICTURE_URL import com.pitchedapps.frost.utils.Prefs +import com.pitchedapps.frost.utils.withRoundIcon /** * Created by Allan Wang on 2017-06-05. @@ -35,8 +36,7 @@ class AccountItem(val cookie: CookieModel?) : KauIItem { + Glide.with(itemView).load(PROFILE_PICTURE_URL(cookie.id)).withRoundIcon().listener(object : RequestListener { override fun onResourceReady(resource: Drawable?, model: Any?, target: Target?, dataSource: DataSource?, isFirstResource: Boolean): Boolean { text.fadeIn() return false -- cgit v1.2.3