Reduce occurrence of the media preview jumping.

fork-5.53.8
Greyson Parrelli 2021-11-22 23:39:59 -05:00
rodzic 637a44379c
commit 643b07d564
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -44,7 +44,7 @@ public final class PagingMediaLoader extends AsyncLoader<Pair<Cursor, Integer>>
@Override
public @Nullable Pair<Cursor, Integer> loadInBackground() {
ApplicationDependencies.getDatabaseObserver().registerConversationObserver(threadId, observer);
ApplicationDependencies.getDatabaseObserver().registerAttachmentObserver(observer);
Cursor cursor = SignalDatabase.media().getGalleryMediaForThread(threadId, sorting, threadId == MediaDatabase.ALL_THREADS);