mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-29 08:16:28 +00:00
Do not offer to open private conversation on user page
This commit is contained in:
parent
9697ba8149
commit
ef0ae2a586
@ -5,6 +5,7 @@ import 'package:comunic/ui/routes/main_route/main_route.dart';
|
|||||||
import 'package:comunic/ui/widgets/account_image_widget.dart';
|
import 'package:comunic/ui/widgets/account_image_widget.dart';
|
||||||
import 'package:comunic/ui/widgets/post_create_form_widget.dart';
|
import 'package:comunic/ui/widgets/post_create_form_widget.dart';
|
||||||
import 'package:comunic/ui/widgets/posts_list_widget.dart';
|
import 'package:comunic/ui/widgets/posts_list_widget.dart';
|
||||||
|
import 'package:comunic/utils/account_utils.dart';
|
||||||
import 'package:comunic/utils/conversations_utils.dart';
|
import 'package:comunic/utils/conversations_utils.dart';
|
||||||
import 'package:comunic/utils/intl_utils.dart';
|
import 'package:comunic/utils/intl_utils.dart';
|
||||||
import 'package:comunic/utils/ui_utils.dart';
|
import 'package:comunic/utils/ui_utils.dart';
|
||||||
@ -51,7 +52,9 @@ class _UserMobilePageState extends State<UserMobilePage> {
|
|||||||
),
|
),
|
||||||
Text(" ${_userInfo.displayName}"),
|
Text(" ${_userInfo.displayName}"),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
IconButton(
|
_userID == userID()
|
||||||
|
? Container()
|
||||||
|
: IconButton(
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
Icons.chat,
|
Icons.chat,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user