Implementert historikk og manuell timeregistrering
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user