mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Small behavior improvement
This commit is contained in:
@@ -2325,7 +2325,10 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
return;
|
||||
|
||||
int unseen = stats.count - stats.seen;
|
||||
setSubtitle(getString(R.string.title_name_count, stats.accountName, NF.format(unseen)));
|
||||
if (unseen == 0)
|
||||
setSubtitle(stats.accountName);
|
||||
else
|
||||
setSubtitle(getString(R.string.title_name_count, stats.accountName, NF.format(unseen)));
|
||||
}
|
||||
});
|
||||
db.message().liveHiddenThread(account, thread).observe(getViewLifecycleOwner(), new Observer<List<Long>>() {
|
||||
|
||||
Reference in New Issue
Block a user