Implementert historikk og manuell timeregistrering

This commit is contained in:
steinhelge
2025-11-24 21:04:15 +01:00
parent f76b2e5c72
commit feda00ac83
5 changed files with 839 additions and 18 deletions
+7 -1
View File
@@ -7,6 +7,7 @@ import '../../models/time_registration.dart';
import '../history/history_screen.dart';
import '../reports/reports_screen.dart';
import '../profile/profile_screen.dart';
import '../time/manual_entry_screen.dart';
import '../../widgets/timer_widget.dart';
class HomeScreen extends ConsumerStatefulWidget {
@@ -222,7 +223,12 @@ class HomeTab extends ConsumerWidget {
),
floatingActionButton: FloatingActionButton.extended(
onPressed: () {
// TODO: Implementer manuell registrering
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => const ManualEntryScreen(),
),
);
},
icon: const Icon(Icons.add),
label: const Text('Manuell registrering'),