mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Remove unused variables
This commit is contained in:
@@ -39,17 +39,8 @@ class GymModeScreen extends ConsumerWidget {
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final args = ModalRoute.of(context)!.settings.arguments as GymModeArguments;
|
||||
|
||||
final routinesProvider = context.read<RoutinesProvider>();
|
||||
final routine = routinesProvider.findById(args.routineId);
|
||||
final dayDataDisplay = routine.dayData.firstWhere(
|
||||
(e) => e.iteration == args.iteration && e.day?.id == args.dayId,
|
||||
);
|
||||
final dayDataGym = routine.dayDataGym
|
||||
.where((e) => e.iteration == args.iteration && e.day?.id == args.dayId)
|
||||
.first;
|
||||
|
||||
return Scaffold(
|
||||
//backgroundColor: Theme.of(context).cardColor,
|
||||
// backgroundColor: Theme.of(context).cardColor,
|
||||
//primary: false,
|
||||
body: SafeArea(
|
||||
child: Consumer<RoutinesProvider>(
|
||||
|
||||
Reference in New Issue
Block a user