mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-05 01:10:49 +00:00
Fix loading more audio in media gallery
This commit is contained in:
@@ -276,7 +276,7 @@ export function MediaGallery({
|
||||
loadingRef.current = true;
|
||||
}
|
||||
} else if (tabViewRef.current === TabViews.Audio) {
|
||||
if (!haveOldestMedia) {
|
||||
if (!haveOldestAudio) {
|
||||
loadMore(conversationId, 'audio');
|
||||
loadingRef.current = true;
|
||||
}
|
||||
@@ -306,6 +306,7 @@ export function MediaGallery({
|
||||
conversationId,
|
||||
haveOldestDocument,
|
||||
haveOldestMedia,
|
||||
haveOldestAudio,
|
||||
haveOldestLink,
|
||||
loading,
|
||||
loadMore,
|
||||
|
||||
Reference in New Issue
Block a user