chore: typos and readability

pull/20/head
Allison Ryan 4 years ago
parent 932219f734
commit 9dd3cddaf0

@ -6,10 +6,10 @@
},
"start": "Start",
"@start": {
"description": "Text displayed on the character seleciton page start button"
"description": "Text displayed on the character selection page start button"
},
"characterSelectionTitle": "Choose your character!",
"@characterSelectionTitle": {
"description": "Title text displayed on the character seleciton page"
"description": "Title text displayed on the character selection page"
}
}

@ -6,10 +6,10 @@
},
"start": "Comienzo",
"@start": {
"description": "Text displayed on the character seleciton page start button"
"description": "Text displayed on the character selection page start button"
},
"characterSelectionTitle": "¡Elige a tu personaje!",
"@characterSelectionTitle": {
"description": "Title text displayed on the character seleciton page"
"description": "Title text displayed on the character selection page"
}
}

@ -104,8 +104,9 @@ class CharacterImageButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
final currentCharacterTheme =
context.select((ThemeCubit cubit) => cubit.state.theme.characterTheme);
final currentCharacterTheme = context.select<ThemeCubit, CharacterTheme>(
(cubit) => cubit.state.theme.characterTheme,
);
return GestureDetector(
onTap: () => context.read<ThemeCubit>().characterSelected(characterTheme),

Loading…
Cancel
Save