mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Move "About Comunic" dialog
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import 'package:comunic/helpers/preferences_helper.dart';
|
||||
import 'package:comunic/utils/intl_utils.dart';
|
||||
import 'package:comunic/utils/ui_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Application settings route
|
||||
@ -61,6 +62,10 @@ class __AppSettingsBodyState extends State<_AppSettingsBody> {
|
||||
description:
|
||||
tr("You will need to restart the application to apply changes"),
|
||||
),
|
||||
ListTile(
|
||||
title: Text(tr("About Comunic")),
|
||||
onTap: () => showAboutAppDialog(context),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
@ -126,11 +126,6 @@ class _MainRouteState extends MainController {
|
||||
_openAccountsSettings();
|
||||
break;
|
||||
|
||||
/// Show about dialog
|
||||
case BarCallbackActions.OPEN_ABOUT_DIALOG:
|
||||
showAboutAppDialog(context);
|
||||
break;
|
||||
|
||||
/// Logout user
|
||||
case BarCallbackActions.ACTION_LOGOUT:
|
||||
_logoutRequested();
|
||||
|
Reference in New Issue
Block a user