diff --git a/Session/Media Viewing & Editing/MediaGalleryViewController.swift b/Session/Media Viewing & Editing/MediaGalleryViewController.swift index 093289508..dfe8413d5 100644 --- a/Session/Media Viewing & Editing/MediaGalleryViewController.swift +++ b/Session/Media Viewing & Editing/MediaGalleryViewController.swift @@ -630,7 +630,7 @@ class MediaGallery: NSObject, MediaGalleryDataSource, MediaTileViewControllerDel // To keep it simple, this isn't exactly *amount* sized if `message` window overlaps the end or // beginning of the view. Still, we have sufficient buffer to fetch more as the user swipes. let start: Int = initialIndex - Int(amount) / 2 - let end: Int = initialIndex + Int(amount) / 2 + let end: Int = initialIndex + Int(amount) / 2 + 1 return start..