Folder type specific scroll to top

This commit is contained in:
M66B
2021-08-22 20:12:13 +02:00
parent 49df3bbb4c
commit 3755dc4d3b
3 changed files with 27 additions and 10 deletions

View File

@@ -5066,7 +5066,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (autoscroll) {
ActivityView activity = (ActivityView) getActivity();
if (activity != null &&
activity.isFolderUpdated(viewType == AdapterMessage.ViewType.UNIFIED ? -1L : folder))
activity.isFolderUpdated(viewType == AdapterMessage.ViewType.UNIFIED ? null : folder, type))
adapter.gotoTop();
}
}