1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-21 17:25:16 +00:00

Revert "Fix refresh issue"

This reverts commit 56c5eb33
This commit is contained in:
2022-03-12 10:13:44 +01:00
parent 56c5eb335b
commit 11829273e2
4 changed files with 10 additions and 25 deletions

View File

@ -38,8 +38,6 @@ class UserPageTablet extends StatefulWidget {
}
class _UserPageTabletState extends State<UserPageTablet> {
final _formKey = GlobalKey<PostCreateFormWidgetState>();
AdvancedUserInfo get _userInfo => widget.userInfo;
bool get _isCurrentUser => _userInfo.id == userID();
@ -72,7 +70,6 @@ class _UserPageTabletState extends State<UserPageTablet> {
topWidgets: [
_userInfo.canPostTexts
? PostCreateFormWidget(
key: _formKey,
postTarget: PostTarget.USER_PAGE,
targetID: _userInfo.id,
onCreated: widget.onNeedRefresh,