diff --git a/lib/ui/routes/account_settings/account_security_settings.dart b/lib/ui/routes/account_settings/account_security_settings.dart new file mode 100644 index 0000000..00db50b --- /dev/null +++ b/lib/ui/routes/account_settings/account_security_settings.dart @@ -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")), + ), + ); + } +} diff --git a/lib/ui/routes/account_settings/account_settings_route.dart b/lib/ui/routes/account_settings/account_settings_route.dart index 0fc6789..0512efb 100644 --- a/lib/ui/routes/account_settings/account_settings_route.dart +++ b/lib/ui/routes/account_settings/account_settings_route.dart @@ -1,4 +1,5 @@ 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/general_account_settings.dart'; import 'package:comunic/utils/intl_utils.dart'; @@ -56,7 +57,15 @@ class __AccountSettingsBodyState extends State<_AccountSettingsBody> { subtitle: tr("Customize your account image"), leading: Icon(Icons.account_circle), onTap: () => _openSection(AccountImageSettingsScreen()), - ) + ), + + // Security settings + SettingsTile( + title: tr("Security"), + subtitle: tr("Manage security options of your account"), + leading: Icon(Icons.lock), + onTap: () => _openSection(AccountSecuritySettingsScreen()), + ), ], ) ],