Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ef8450c authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

Remove accountChip bar from messageListItem

parent 9e112943
Loading
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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)
@@ -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 {
+1 −0
Original line number Diff line number Diff line
@@ -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