Loading app/ui/legacy/src/main/java/com/fsck/k9/fragment/MessageListAdapter.kt +0 −8 Original line number Diff line number Diff line Loading @@ -111,8 +111,6 @@ class MessageListAdapter internal constructor( view.findViewById<View>(R.id.contact_picture_container).isVisible = appearance.showContactPicture holder.contactPicture.setOnClickListener(contactPictureClickListener) holder.chip.isVisible = appearance.showAccountChip appearance.fontSizes.setViewTextSize(holder.subject, subjectViewFontSize) appearance.fontSizes.setViewTextSize(holder.date, appearance.fontSizes.messageListDate) Loading Loading @@ -158,12 +156,6 @@ class MessageListAdapter internal constructor( val displayThreadCount = if (appearance.showingThreadedList) threadCount else 0 val subject = MlfUtils.buildSubject(subject, res.getString(R.string.general_no_subject), displayThreadCount) if (appearance.showAccountChip) { val accountChipDrawable = holder.chip.drawable.mutate() DrawableCompat.setTint(accountChipDrawable, account.chipColor) holder.chip.setImageDrawable(accountChipDrawable) } if (appearance.stars) { holder.flagged.isVisible = isStarred } else { Loading app/ui/legacy/src/main/res/layout/message_list_item.xml +1 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,7 @@ android:layout_marginEnd="4dp" app:srcCompat="@drawable/ic_account_color" tools:tint="@color/color_default_accent" android:visibility="gone" android:contentDescription="@null" /> <TextView Loading Loading
app/ui/legacy/src/main/java/com/fsck/k9/fragment/MessageListAdapter.kt +0 −8 Original line number Diff line number Diff line Loading @@ -111,8 +111,6 @@ class MessageListAdapter internal constructor( view.findViewById<View>(R.id.contact_picture_container).isVisible = appearance.showContactPicture holder.contactPicture.setOnClickListener(contactPictureClickListener) holder.chip.isVisible = appearance.showAccountChip appearance.fontSizes.setViewTextSize(holder.subject, subjectViewFontSize) appearance.fontSizes.setViewTextSize(holder.date, appearance.fontSizes.messageListDate) Loading Loading @@ -158,12 +156,6 @@ class MessageListAdapter internal constructor( val displayThreadCount = if (appearance.showingThreadedList) threadCount else 0 val subject = MlfUtils.buildSubject(subject, res.getString(R.string.general_no_subject), displayThreadCount) if (appearance.showAccountChip) { val accountChipDrawable = holder.chip.drawable.mutate() DrawableCompat.setTint(accountChipDrawable, account.chipColor) holder.chip.setImageDrawable(accountChipDrawable) } if (appearance.stars) { holder.flagged.isVisible = isStarred } else { Loading
app/ui/legacy/src/main/res/layout/message_list_item.xml +1 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,7 @@ android:layout_marginEnd="4dp" app:srcCompat="@drawable/ic_account_color" tools:tint="@color/color_default_accent" android:visibility="gone" android:contentDescription="@null" /> <TextView Loading