mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 21:09:21 +00:00
Ready to implement security settings
This commit is contained in:
parent
ae9491e198
commit
d64d2ece05
@ -0,0 +1,17 @@
|
|||||||
|
import 'package:comunic/utils/intl_utils.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
/// Account security settings
|
||||||
|
///
|
||||||
|
/// @author Pierre HUBERT
|
||||||
|
|
||||||
|
class AccountSecuritySettingsScreen extends StatelessWidget {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Text(tr("Security settings")),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
import 'package:comunic/ui/routes/account_settings/account_image_settings.dart';
|
import 'package:comunic/ui/routes/account_settings/account_image_settings.dart';
|
||||||
|
import 'package:comunic/ui/routes/account_settings/account_security_settings.dart';
|
||||||
import 'package:comunic/ui/routes/account_settings/custom_emojies_account_settings.dart';
|
import 'package:comunic/ui/routes/account_settings/custom_emojies_account_settings.dart';
|
||||||
import 'package:comunic/ui/routes/account_settings/general_account_settings.dart';
|
import 'package:comunic/ui/routes/account_settings/general_account_settings.dart';
|
||||||
import 'package:comunic/utils/intl_utils.dart';
|
import 'package:comunic/utils/intl_utils.dart';
|
||||||
@ -56,7 +57,15 @@ class __AccountSettingsBodyState extends State<_AccountSettingsBody> {
|
|||||||
subtitle: tr("Customize your account image"),
|
subtitle: tr("Customize your account image"),
|
||||||
leading: Icon(Icons.account_circle),
|
leading: Icon(Icons.account_circle),
|
||||||
onTap: () => _openSection(AccountImageSettingsScreen()),
|
onTap: () => _openSection(AccountImageSettingsScreen()),
|
||||||
)
|
),
|
||||||
|
|
||||||
|
// Security settings
|
||||||
|
SettingsTile(
|
||||||
|
title: tr("Security"),
|
||||||
|
subtitle: tr("Manage security options of your account"),
|
||||||
|
leading: Icon(Icons.lock),
|
||||||
|
onTap: () => _openSection(AccountSecuritySettingsScreen()),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user