1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09:21 +00:00

Can refresh user page

This commit is contained in:
Pierre HUBERT 2019-06-15 16:06:20 +02:00
parent 4fb34e6f90
commit e20011d42e

View File

@ -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,
),
); );
} }