1
0
Fork 0
forked from Nexus/nexus

add placeholder while profile loading

This commit is contained in:
Henry Hiles 2026-06-10 10:40:21 -04:00
commit 7757825e27
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -131,9 +131,11 @@ class UserBottomSheet extends ConsumerWidget {
ref
.watch(ProfileController.provider(userId))
.betterWhen(
loading: SizedBox.shrink,
loading: () => Text(""),
data: (profile) => Column(
children: [
if (profile.timezone == null && profile.pronouns.isEmpty)
Text(""),
Wrap(
crossAxisAlignment: .center,
alignment: .center,