mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Can access user page from the menu
This commit is contained in:
parent
a29af0fe01
commit
54482fc70f
@ -1,7 +1,9 @@
|
||||
import 'package:comunic/helpers/account_helper.dart';
|
||||
import 'package:comunic/ui/routes/login_route.dart';
|
||||
import 'package:comunic/ui/tiles/menu_tile.dart';
|
||||
import 'package:comunic/utils/account_utils.dart';
|
||||
import 'package:comunic/utils/intl_utils.dart';
|
||||
import 'package:comunic/utils/navigation_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Menu screen
|
||||
@ -54,6 +56,12 @@ class MenuScreen extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return ListView(
|
||||
children: <Widget>[
|
||||
MenuTile(
|
||||
title: tr("My page"),
|
||||
onTap: () {
|
||||
openUserPage(context: context, userID: userID());
|
||||
},
|
||||
),
|
||||
MenuTile(
|
||||
title: tr("Sign out"),
|
||||
onTap: () {
|
||||
|
Loading…
Reference in New Issue
Block a user