diff --git a/lib/pages/main_page.dart b/lib/pages/main_page.dart index 711efb1..6e479e5 100644 --- a/lib/pages/main_page.dart +++ b/lib/pages/main_page.dart @@ -24,12 +24,12 @@ class MyHomePageState extends State { 'Rückfall', 'Scanner' ]; - static final List _widgetOptions = [ - const MoodPage(), - const SleepPage(), - const StopWatchTimerPage(), - const RelapsePage(), - SettingsPage(), + static const List _widgetOptions = [ + MoodPage(), + SleepPage(), + StopWatchTimerPage(), + RelapsePage(), + ScannerPage(), ]; Future _onItemTapped(int index) async { diff --git a/lib/pages/scanner_page.dart b/lib/pages/scanner_page.dart index 73a6a45..5ebb699 100644 --- a/lib/pages/scanner_page.dart +++ b/lib/pages/scanner_page.dart @@ -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) {