mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
test cases fixes
This commit is contained in:
@@ -203,12 +203,10 @@ class ExerciseDetail extends StatelessWidget {
|
||||
final theme = Theme.of(context);
|
||||
|
||||
out.add(
|
||||
Chip(label: Text(getTranslation(_exerciseBase.category!.name, context))),
|
||||
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 4),
|
||||
child: Chip(
|
||||
label: Text(getTranslation(_exerciseBase.category.name, context)),
|
||||
label: Text(getTranslation(_exerciseBase.category!.name, context)),
|
||||
padding: EdgeInsets.zero,
|
||||
backgroundColor: theme.splashColor,
|
||||
),
|
||||
|
||||
@@ -689,11 +689,8 @@ class ExerciseOverview extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
getTranslation(_exerciseBase.category!.name, context),
|
||||
style: Theme.of(context).textTheme.headline6,
|
||||
|
||||
getTranslation(_exerciseBase.category.name, context),
|
||||
semanticsLabel: getTranslation(_exerciseBase.category!.name, context),
|
||||
style: Theme.of(context).textTheme.titleLarge,
|
||||
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
..._exerciseBase.equipment.map((e) => Text(
|
||||
|
||||
Reference in New Issue
Block a user