refactor(mobile): refactor user provider (#16358)

This commit is contained in:
Alex
2025-02-26 17:04:43 -06:00
committed by GitHub
parent c778516ce2
commit 8fbd650483
8 changed files with 65 additions and 23 deletions

View File

@@ -110,7 +110,7 @@ class PhotosPage extends HookConsumerWidget {
: const SizedBox(),
renderListProvider: timelineUsers.length > 1
? multiUsersTimelineProvider(timelineUsers)
: singleUserTimelineProvider(currentUser!.isarId),
: singleUserTimelineProvider(currentUser?.isarId),
buildLoadingIndicator: buildLoadingIndicator,
onRefresh: refreshAssets,
stackEnabled: true,