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

Do not offer to open private conversation on user page

This commit is contained in:
Pierre HUBERT 2020-05-17 15:02:29 +02:00
parent 9697ba8149
commit ef0ae2a586

View File

@ -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/post_create_form_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/intl_utils.dart';
import 'package:comunic/utils/ui_utils.dart';
@ -51,7 +52,9 @@ class _UserMobilePageState extends State<UserMobilePage> {
),
Text(" ${_userInfo.displayName}"),
Spacer(),
IconButton(
_userID == userID()
? Container()
: IconButton(
icon: Icon(
Icons.chat,
),