rename settingpage

main
Julian Gegner 2023-02-19 17:54:30 +01:00
parent acfb9fea70
commit b368baf744
2 changed files with 8 additions and 8 deletions

View File

@ -24,12 +24,12 @@ class MyHomePageState extends State<MyHomePage> {
'Rückfall',
'Scanner'
];
static final List<Widget> _widgetOptions = <Widget>[
const MoodPage(),
const SleepPage(),
const StopWatchTimerPage(),
const RelapsePage(),
SettingsPage(),
static const List<Widget> _widgetOptions = <Widget>[
MoodPage(),
SleepPage(),
StopWatchTimerPage(),
RelapsePage(),
ScannerPage(),
];
Future<void> _onItemTapped(int index) async {

View File

@ -1,8 +1,8 @@
import 'package:flutter/material.dart';
import 'package:smoke_cess_app/service/settings_service.dart';
class SettingsPage extends StatelessWidget {
SettingsPage({super.key});
class ScannerPage extends StatelessWidget {
const ScannerPage({super.key});
@override
Widget build(BuildContext context) {