Loading app/ui/legacy/src/main/java/com/fsck/k9/fragment/MessageListAdapter.kt +5 −3 Original line number Diff line number Diff line Loading @@ -124,9 +124,9 @@ class MessageListAdapter internal constructor( appearance.fontSizes.setViewTextSize(holder.preview, appearance.fontSizes.messageListPreview) appearance.fontSizes.setViewTextSize(holder.threadCount, appearance.fontSizes.messageListSubject) // thread count is next to subject holder.flagged.isVisible = appearance.stars holder.flagged.isVisible = false holder.flagged.tag = holder holder.flagged.setOnClickListener(flagClickListener) holder.flagged.setOnClickListener(null) view.tag = holder Loading Loading @@ -167,7 +167,9 @@ class MessageListAdapter internal constructor( } if (appearance.stars) { holder.flagged.isChecked = isStarred holder.flagged.isVisible = isStarred } else { holder.flagged.isVisible = false } holder.position = position if (appearance.showContactPicture && holder.contactPicture.isVisible) { Loading app/ui/legacy/src/main/res/layout/message_list_item.xml +3 −2 Original line number Diff line number Diff line Loading @@ -147,14 +147,15 @@ <CheckBox android:id="@+id/star" style="@style/MessageStarStyle" android:buttonTint="@color/star_color" android:button="@drawable/ic_star" android:buttonTint="@lineageos.platform:color/color_default_orange1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingTop="2dp" android:paddingBottom="2dp" android:layout_marginEnd="8dp" android:focusable="false" android:enabled="false" android:visibility="visible" android:gravity="center_vertical" tools:text="​"/> Loading Loading
app/ui/legacy/src/main/java/com/fsck/k9/fragment/MessageListAdapter.kt +5 −3 Original line number Diff line number Diff line Loading @@ -124,9 +124,9 @@ class MessageListAdapter internal constructor( appearance.fontSizes.setViewTextSize(holder.preview, appearance.fontSizes.messageListPreview) appearance.fontSizes.setViewTextSize(holder.threadCount, appearance.fontSizes.messageListSubject) // thread count is next to subject holder.flagged.isVisible = appearance.stars holder.flagged.isVisible = false holder.flagged.tag = holder holder.flagged.setOnClickListener(flagClickListener) holder.flagged.setOnClickListener(null) view.tag = holder Loading Loading @@ -167,7 +167,9 @@ class MessageListAdapter internal constructor( } if (appearance.stars) { holder.flagged.isChecked = isStarred holder.flagged.isVisible = isStarred } else { holder.flagged.isVisible = false } holder.position = position if (appearance.showContactPicture && holder.contactPicture.isVisible) { Loading
app/ui/legacy/src/main/res/layout/message_list_item.xml +3 −2 Original line number Diff line number Diff line Loading @@ -147,14 +147,15 @@ <CheckBox android:id="@+id/star" style="@style/MessageStarStyle" android:buttonTint="@color/star_color" android:button="@drawable/ic_star" android:buttonTint="@lineageos.platform:color/color_default_orange1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingTop="2dp" android:paddingBottom="2dp" android:layout_marginEnd="8dp" android:focusable="false" android:enabled="false" android:visibility="visible" android:gravity="center_vertical" tools:text="​"/> Loading