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

View File

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