aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/net/lacolaco/smileessence/activity/ManageProfilesActivity.kt2
-rw-r--r--app/src/main/java/net/lacolaco/smileessence/view/page/EventsPageFragment.kt4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/net/lacolaco/smileessence/activity/ManageProfilesActivity.kt b/app/src/main/java/net/lacolaco/smileessence/activity/ManageProfilesActivity.kt
index 67fd768c..d01b6d13 100644
--- a/app/src/main/java/net/lacolaco/smileessence/activity/ManageProfilesActivity.kt
+++ b/app/src/main/java/net/lacolaco/smileessence/activity/ManageProfilesActivity.kt
@@ -174,7 +174,7 @@ class ManageProfilesActivity : AppCompatActivity() {
.setIntent(shortcutIntent)
.build()
ShortcutManagerCompat.requestPinShortcut(this@ManageProfilesActivity, shortcutInfo, null)
- }, 0, 0, ImageView.ScaleType.CENTER, Bitmap.Config.ARGB_4444, { error ->
+ }, 256, 256, ImageView.ScaleType.CENTER, Bitmap.Config.ARGB_8888, { error ->
error.printStackTrace()
}))
}
diff --git a/app/src/main/java/net/lacolaco/smileessence/view/page/EventsPageFragment.kt b/app/src/main/java/net/lacolaco/smileessence/view/page/EventsPageFragment.kt
index 792d0123..ac37abff 100644
--- a/app/src/main/java/net/lacolaco/smileessence/view/page/EventsPageFragment.kt
+++ b/app/src/main/java/net/lacolaco/smileessence/view/page/EventsPageFragment.kt
@@ -25,8 +25,8 @@ class EventsPageFragment : TimelinePageFragment<Event, PageInfo.EventsPageInfo>(
override fun onBindItemView(item: Event, itemView: View) {
itemView.imageview_status_icon.setImageUrl(item.source.profileImageUrl, ImageCache.getImageLoader())
- view.textview_status_header_username.text = item.formattedString
- view.textview_status_header_name.visibility = View.INVISIBLE
+ itemView.textview_status_header_username.text = item.formattedString
+ itemView.textview_status_header_name.visibility = View.INVISIBLE
itemView.textview_status_text.text = item.targetObject?.text ?: ""
itemView.textview_status_footer.text = item.createdAt.toCompactString()
itemView.imageview_status_favorited.visibility = View.INVISIBLE