mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 12:58:51 +00:00
Can start private conversation from user profile route
This commit is contained in:
parent
f92846cb76
commit
3ea02ea98c
@ -9,6 +9,8 @@ import 'package:comunic/ui/widgets/async_screen_widget.dart';
|
||||
import 'package:comunic/ui/widgets/copy_icon.dart';
|
||||
import 'package:comunic/ui/widgets/forez_presence_calendar_widget.dart';
|
||||
import 'package:comunic/ui/widgets/text_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';
|
||||
import 'package:flutter/material.dart';
|
||||
@ -115,6 +117,13 @@ class _ForezMemberProfileRouteState extends State<ForezMemberProfileRoute> {
|
||||
],
|
||||
),
|
||||
),
|
||||
actions: _user.id == userID()
|
||||
? null
|
||||
: [
|
||||
IconButton(
|
||||
icon: Icon(Icons.message),
|
||||
onPressed: () => openPrivateConversation(context, _user.id))
|
||||
],
|
||||
);
|
||||
|
||||
Widget _buildList() => SliverList(
|
||||
|
Loading…
Reference in New Issue
Block a user