mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +00:00
Can refresh user page
This commit is contained in:
parent
4fb34e6f90
commit
e20011d42e
@ -79,8 +79,11 @@ class _UserPageRouteState extends State<UserPageRoute> {
|
|||||||
if (_status == _PageStatus.ERROR) return _buildError();
|
if (_status == _PageStatus.ERROR) return _buildError();
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: CustomScrollView(
|
body: RefreshIndicator(
|
||||||
slivers: <Widget>[_buildHeader(), _buildBody()],
|
child: CustomScrollView(
|
||||||
|
slivers: <Widget>[_buildHeader(), _buildBody()],
|
||||||
|
),
|
||||||
|
onRefresh: _getUserInfo,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user