|
|
@ -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(
|
|
|
|