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: prevent profile reload on navigation pop losing paginated galleries

Guard .task so it only loads when profile is nil, preventing a full
reload (first page only) when popping back from gallery detail.

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

+3 -1
+3 -1
Grain/Views/Profile/ProfileView.swift
··· 443 443 #endif 444 444 return 445 445 } 446 - await viewModel.load(did: actor, viewer: auth.userDID, auth: auth.authContext()) 446 + if viewModel.profile == nil { 447 + await viewModel.load(did: actor, viewer: auth.userDID, auth: auth.authContext()) 448 + } 447 449 } 448 450 .onChange(of: deletedGalleryUri) { _, uri in 449 451 if let uri {