skipLoadingOnReload

This commit is contained in:
Fabian Freund
2025-12-01 10:11:47 +01:00
parent d9b6692414
commit 60579b7454
11 changed files with 14 additions and 0 deletions
@@ -16,6 +16,7 @@ class SelectProfileDialog extends HookConsumerWidget {
title: const Text('Manage Users'),
scrollable: true,
content: usersAsync.when(
skipLoadingOnReload: true,
data: (profiles) => Column(
children: profiles.map((profile) {
final isSelected = filesystem.selectedProfile == profile.uuidValue;
@@ -17,6 +17,7 @@ class ProfileListScreen extends HookConsumerWidget {
return Scaffold(
appBar: AppBar(title: const Text('Users')),
body: usersAsync.when(
skipLoadingOnReload: true,
data: (profiles) => ListView.builder(
itemCount: profiles.length,
itemBuilder: (context, index) {