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)
|
.getUserProfile(userId)
|
||||||
.timeout(const Duration(seconds: 3)),
|
.timeout(const Duration(seconds: 3)),
|
||||||
builder: (context, snapshot) {
|
builder: (context, snapshot) {
|
||||||
if (snapshot.connectionState != ConnectionState.done) {
|
if (snapshot.connectionState != ConnectionState.done &&
|
||||||
|
snapshot.data != null) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
leading: CloseButton(
|
leading: CloseButton(
|
||||||
|
|
Loading…
Reference in a new issue