diff --git a/lib/screens/gym_mode.dart b/lib/screens/gym_mode.dart index ff899bbd..0caa94ac 100644 --- a/lib/screens/gym_mode.dart +++ b/lib/screens/gym_mode.dart @@ -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(); - 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(