skipLoadingOnReload
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user