mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-21 17:25:16 +00:00
Fix refresh issue
This commit is contained in:
@ -38,6 +38,8 @@ class UserPageTablet extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _UserPageTabletState extends State<UserPageTablet> {
|
||||
final _formKey = GlobalKey<PostCreateFormWidgetState>();
|
||||
|
||||
AdvancedUserInfo get _userInfo => widget.userInfo;
|
||||
|
||||
bool get _isCurrentUser => _userInfo.id == userID();
|
||||
@ -70,6 +72,7 @@ class _UserPageTabletState extends State<UserPageTablet> {
|
||||
topWidgets: [
|
||||
_userInfo.canPostTexts
|
||||
? PostCreateFormWidget(
|
||||
key: _formKey,
|
||||
postTarget: PostTarget.USER_PAGE,
|
||||
targetID: _userInfo.id,
|
||||
onCreated: widget.onNeedRefresh,
|
||||
|
Reference in New Issue
Block a user