mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Can refresh user page
This commit is contained in:
@ -79,9 +79,12 @@ 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(
|
||||||
|
child: CustomScrollView(
|
||||||
slivers: <Widget>[_buildHeader(), _buildBody()],
|
slivers: <Widget>[_buildHeader(), _buildBody()],
|
||||||
),
|
),
|
||||||
|
onRefresh: _getUserInfo,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user