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: refresh tab bar avatar after editing profile

Adds refreshAvatar() to AuthManager and calls it after profile save,
so the bottom nav avatar updates immediately.

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

+5
+4
Grain/API/AuthManager.swift
··· 273 273 } 274 274 } 275 275 276 + func refreshAvatar() async { 277 + await fetchAndStoreAvatar() 278 + } 279 + 276 280 private func fetchAndStoreAvatar() async { 277 281 guard let did = userDID else { return } 278 282 let client = XRPCClient(baseURL: Self.serverURL)
+1
Grain/Views/Settings/EditProfileView.swift
··· 217 217 auth: authContext 218 218 ) 219 219 220 + await auth.refreshAvatar() 220 221 onSaved?() 221 222 dismiss() 222 223 } catch {