mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-12 06:08:25 -05:00
Only show flagged message counters when star preference is selected
This commit is contained in:
parent
5bd24fe425
commit
f27aa4c5c0
@ -809,7 +809,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
||||
holder.newMessageCount.setVisibility(unreadMessageCount > 0 ? View.VISIBLE : View.GONE);
|
||||
|
||||
holder.flaggedMessageCount.setText(Integer.toString(stats.flaggedMessageCount));
|
||||
holder.flaggedMessageCount.setVisibility(stats.flaggedMessageCount > 0 ? View.VISIBLE : View.GONE);
|
||||
holder.flaggedMessageCount.setVisibility(K9.messageListStars() && stats.flaggedMessageCount > 0 ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1244,7 +1244,7 @@ public class FolderList extends K9ListActivity
|
||||
holder.newMessageCount.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (folder.flaggedMessageCount > 0)
|
||||
if (K9.messageListStars() && folder.flaggedMessageCount > 0)
|
||||
{
|
||||
holder.flaggedMessageCount.setText(Integer
|
||||
.toString(folder.flaggedMessageCount));
|
||||
|
Loading…
Reference in New Issue
Block a user