mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 09:35:12 +00:00
chore: Follow up user bottom sheet
This commit is contained in:
parent
924e4bce23
commit
010ae8fb09
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ class LoadProfileBottomSheet extends StatelessWidget {
|
|||
.getUserProfile(userId)
|
||||
.timeout(const Duration(seconds: 3)),
|
||||
builder: (context, snapshot) {
|
||||
if (snapshot.connectionState != ConnectionState.done) {
|
||||
if (snapshot.connectionState != ConnectionState.done &&
|
||||
snapshot.data != null) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
leading: CloseButton(
|
||||
|
|
Loading…
Reference in a new issue