This commit is contained in:
Bartosz 2024-10-25 12:29:44 +01:00
parent 5c49b080d9
commit eef5f273d0
3 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:dialer/pages/settingsCall.dart'; import 'package:dialer/pages/settingsCall.dart';
import 'package:dialer/pages/settingsAccounts.dart'; // Import the new settings page import 'package:dialer/pages/settingsAccounts.dart';
class SettingsPage extends StatelessWidget { class SettingsPage extends StatelessWidget {
const SettingsPage({super.key}); const SettingsPage({super.key});

View File

@ -1,8 +1,8 @@
// settingsAccounts.dart // settingsAccounts.dart
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:dialer/pages/chooseSim.dart'; // We'll create this next import 'package:dialer/pages/chooseSim.dart';
import 'package:dialer/pages/simParameters.dart'; // We'll create this next import 'package:dialer/pages/simParameters.dart';
class SettingsAccountsPage extends StatelessWidget { class SettingsAccountsPage extends StatelessWidget {
const SettingsAccountsPage({super.key}); const SettingsAccountsPage({super.key});

View File

@ -47,14 +47,12 @@ class _SettingsCallPageState extends State<SettingsCallPage> {
_selectRingtone(context); _selectRingtone(context);
}, },
), ),
// Add more calling settings as needed
], ],
), ),
); );
} }
void _selectRingtone(BuildContext context) { void _selectRingtone(BuildContext context) {
// For demonstration, let's use a simple dialog
showDialog<String>( showDialog<String>(
context: context, context: context,
builder: (BuildContext context) { builder: (BuildContext context) {