iOS client for Grain grain.social
ios photography atproto
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: story progress bar stops after first story when image is cached

When advancing to a story whose fullsize image was already in the Nuke
cache, imageLoaded stayed true but nobody restarted the timer. Now
advanceStory starts the timer immediately for cached images.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+5 -1
+5 -1
Grain/Views/Stories/StoryViewer.swift
··· 585 585 let newIndex = currentStoryIndex + delta 586 586 let nextStory = stories.indices.contains(newIndex) ? stories[newIndex] : nil 587 587 currentStoryIndex = newIndex 588 - if !isFullsizeCached(nextStory) { imageLoaded = false } 588 + if isFullsizeCached(nextStory) { 589 + startTimerIfSafe() 590 + } else { 591 + imageLoaded = false 592 + } 589 593 labelRevealed = false 590 594 showLocationCopied = false 591 595 prefetchStoryImages()