mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +00:00
Can easily open current user page
This commit is contained in:
parent
773cf17da0
commit
e7f360c6fc
@ -1,5 +1,6 @@
|
||||
import 'package:comunic/helpers/users_helper.dart';
|
||||
import 'package:comunic/models/user.dart';
|
||||
import 'package:comunic/ui/routes/main_route/main_route.dart';
|
||||
import 'package:comunic/ui/widgets/account_image_widget.dart';
|
||||
import 'package:comunic/ui/widgets/safe_state.dart';
|
||||
import 'package:comunic/utils/account_utils.dart';
|
||||
@ -48,6 +49,7 @@ class _CurrentUserPanelState extends SafeState<CurrentUserPanel> {
|
||||
if (_user == null) return buildCenteredProgressBar();
|
||||
|
||||
return ListTile(
|
||||
onTap: () => MainController.of(context).openCurrentUserPage(),
|
||||
leading: AccountImageWidget(
|
||||
user: _user,
|
||||
width: 50,
|
||||
|
Loading…
Reference in New Issue
Block a user