File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -25,24 +25,11 @@ import 'package:wger/models/workouts/routine.dart';
25
25
import 'package:wger/theme/theme.dart' ;
26
26
import 'package:wger/widgets/routines/log.dart' ;
27
27
28
- class WorkoutLogs extends StatefulWidget {
28
+ class WorkoutLogs extends StatelessWidget {
29
29
final Routine _routine;
30
30
31
31
const WorkoutLogs (this ._routine);
32
32
33
- @override
34
- _WorkoutLogsState createState () => _WorkoutLogsState ();
35
- }
36
-
37
- class _WorkoutLogsState extends State <WorkoutLogs > {
38
- final dayController = TextEditingController ();
39
-
40
- @override
41
- void dispose () {
42
- dayController.dispose ();
43
- super .dispose ();
44
- }
45
-
46
33
@override
47
34
Widget build (BuildContext context) {
48
35
return ListView (
@@ -62,7 +49,7 @@ class _WorkoutLogsState extends State<WorkoutLogs> {
62
49
),
63
50
SizedBox (
64
51
width: double .infinity,
65
- child: WorkoutLogCalendar (widget. _routine),
52
+ child: WorkoutLogCalendar (_routine),
66
53
),
67
54
],
68
55
);
You can’t perform that action at this time.
0 commit comments