chore: Follow up user bottom sheet

pull/485/head
krille-chan 2 years ago
parent 924e4bce23
commit 010ae8fb09
No known key found for this signature in database

@ -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…
Cancel
Save