1
0
Fork 0
forked from Nexus/nexus

more elegantly handle empty displaynames

This commit is contained in:
Henry Hiles 2026-05-31 21:46:22 -04:00
commit eb87cbc17b
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
4 changed files with 30 additions and 18 deletions

View file

@ -12,8 +12,6 @@ class ProfileController extends AsyncNotifier<Profile> {
return client.getProfile(userId);
}
static final provider =
AsyncNotifierProvider.family<ProfileController, Profile, String>(
ProfileController.new,
);
static final provider = AsyncNotifierProvider.family
.autoDispose<ProfileController, Profile, String>(ProfileController.new);
}