Removed French / clean bad english (#21)
All checks were successful
/ mirror (push) Successful in 5s

Reviewed-on: #21
This commit is contained in:
stcb 2024-12-20 10:31:35 +00:00
parent 7e438f3ee7
commit 0da5e27830
2 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@ class SettingsPage extends StatelessWidget {
MaterialPageRoute(builder: (context) => const SettingsCallPage()),
);
break;
case 'Page of telephone accounts':
case 'Sim settings':
Navigator.push(
context,
MaterialPageRoute(builder: (context) => const SettingsAccountsPage()),
@ -54,7 +54,7 @@ class SettingsPage extends StatelessWidget {
return Scaffold(
backgroundColor: Colors.black,
appBar: AppBar(
title: const Text('settings'),
title: const Text('Settings'),
),
body: ListView.builder(
itemCount: settingsOptions.length,

View File

@ -7,13 +7,13 @@ class SettingsAccountsPage extends StatelessWidget {
void _navigateToAccountOption(BuildContext context, String option) {
switch (option) {
case 'Choisir la SIM':
case 'Chose SIM card':
Navigator.push(
context,
MaterialPageRoute(builder: (context) => const ChooseSimPage()),
);
break;
case 'Paramètre SIM':
case 'SIM card parameters':
Navigator.push(
context,
MaterialPageRoute(builder: (context) => const SimParametersPage()),
@ -27,14 +27,14 @@ class SettingsAccountsPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
final accountOptions = [
'Choisir la SIM',
'Paramètre SIM',
'Chose SIM card',
'SIM card parameters',
];
return Scaffold(
backgroundColor: Colors.black,
appBar: AppBar(
title: const Text('Page des comptes téléphoniques'),
title: const Text('Sim settings'),
),
body: ListView.builder(
itemCount: accountOptions.length,