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: avoid self-capture error in loadFavorites logger

authored by

Hima Aramona and committed by
Chad Miller
a266d2ed 360677e8

+2 -1
+2 -1
Grain/ViewModels/ProfileDetailViewModel.swift
··· 138 138 favoriteGalleries = hydratedFavorites(response.items ?? []) 139 139 favoritesCursor = response.cursor 140 140 hasMoreFavorites = response.cursor != nil 141 - profileLogger.info("loadFavorites ok count=\(favoriteGalleries.count, privacy: .public)") 141 + let loadedCount = favoriteGalleries.count 142 + profileLogger.info("loadFavorites ok count=\(loadedCount, privacy: .public)") 142 143 let toCache = Array(favoriteGalleries.prefix(Self.favoritesDiskCacheLimit)) 143 144 let key = Self.favoritesCacheKey(did: did) 144 145 Task.detached(priority: .utility) {