mirror of https://github.com/M66B/FairEmail.git
Small fix
This commit is contained in:
parent
a0301e65cc
commit
5ba764f010
|
@ -2069,7 +2069,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
db.message().liveHidden(account, thread).observe(getViewLifecycleOwner(), new Observer<List<Long>>() {
|
db.message().liveHidden(account, thread).observe(getViewLifecycleOwner(), new Observer<List<Long>>() {
|
||||||
@Override
|
@Override
|
||||||
public void onChanged(List<Long> ids) {
|
public void onChanged(List<Long> ids) {
|
||||||
if (ids != null)
|
if (ids != null) {
|
||||||
for (long id : ids) {
|
for (long id : ids) {
|
||||||
Log.i("Hidden id=" + id);
|
Log.i("Hidden id=" + id);
|
||||||
for (String key : values.keySet())
|
for (String key : values.keySet())
|
||||||
|
@ -2077,6 +2077,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
bodies.remove(id);
|
bodies.remove(id);
|
||||||
attachments.remove(id);
|
attachments.remove(id);
|
||||||
}
|
}
|
||||||
|
updateExpanded();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue