|
|
|
@ -42,9 +42,10 @@ class _SettingsPageState extends State<SettingsPage> {
|
|
|
|
|
color: Colors.deepPurple[300],
|
|
|
|
|
borderRadius: BorderRadius.circular(w * 0.01)),
|
|
|
|
|
child: SettingButtonWidget(
|
|
|
|
|
title: LanguageTranslation.of(context)!.text('account'),
|
|
|
|
|
content:
|
|
|
|
|
"Adresse mail, mot-de-passe maître, suppression de compte",
|
|
|
|
|
title: LanguageTranslation.of(context)!
|
|
|
|
|
.text('account_setting_title'),
|
|
|
|
|
content: LanguageTranslation.of(context)!
|
|
|
|
|
.text('account_setting_description'),
|
|
|
|
|
icon: const IconData(0xf522, fontFamily: 'MaterialIcons'),
|
|
|
|
|
page: const SettingAccountPage(),
|
|
|
|
|
)),
|
|
|
|
@ -61,7 +62,8 @@ class _SettingsPageState extends State<SettingsPage> {
|
|
|
|
|
SettingButtonWidget(
|
|
|
|
|
title: LanguageTranslation.of(context)!
|
|
|
|
|
.text('authentification_setting_title'),
|
|
|
|
|
content: "2 facteurs, Yubikey, biométrique",
|
|
|
|
|
content: LanguageTranslation.of(context)!
|
|
|
|
|
.text('authentification_setting_description'),
|
|
|
|
|
icon:
|
|
|
|
|
const IconData(0xf0553, fontFamily: 'MaterialIcons'),
|
|
|
|
|
page: const LoginPage(),
|
|
|
|
@ -69,7 +71,8 @@ class _SettingsPageState extends State<SettingsPage> {
|
|
|
|
|
SettingButtonWidget(
|
|
|
|
|
title: LanguageTranslation.of(context)!
|
|
|
|
|
.text('key_setting_title'),
|
|
|
|
|
content: "Partage de la clé, changer de clé ",
|
|
|
|
|
content: LanguageTranslation.of(context)!
|
|
|
|
|
.text('key_setting_description'),
|
|
|
|
|
icon:
|
|
|
|
|
const IconData(0xf052b, fontFamily: 'MaterialIcons'),
|
|
|
|
|
page: const SettingKeyPage(),
|
|
|
|
@ -90,14 +93,16 @@ class _SettingsPageState extends State<SettingsPage> {
|
|
|
|
|
SettingButtonWidget(
|
|
|
|
|
title: LanguageTranslation.of(context)!
|
|
|
|
|
.text('theme_setting_title'),
|
|
|
|
|
content: "Mode nuit, thème sombre, langue",
|
|
|
|
|
content: LanguageTranslation.of(context)!
|
|
|
|
|
.text('theme_setting_description'),
|
|
|
|
|
icon: const IconData(0xf14f, fontFamily: 'MaterialIcons'),
|
|
|
|
|
page: const SettingThemePage(),
|
|
|
|
|
),
|
|
|
|
|
SettingButtonWidget(
|
|
|
|
|
title: LanguageTranslation.of(context)!
|
|
|
|
|
.text('about_setting_title'),
|
|
|
|
|
content: "Qui sommes-nous, dêpot du projet ",
|
|
|
|
|
content: LanguageTranslation.of(context)!
|
|
|
|
|
.text('about_setting_description'),
|
|
|
|
|
icon: const IconData(0xe33d, fontFamily: 'MaterialIcons'),
|
|
|
|
|
page: const LoginPage(),
|
|
|
|
|
),
|
|
|
|
|