From 9dd3cddaf0b6134047647eb8bd7eb9415418495b Mon Sep 17 00:00:00 2001 From: Allison Ryan Date: Wed, 9 Mar 2022 09:24:59 -0600 Subject: [PATCH] chore: typos and readability --- lib/l10n/arb/app_en.arb | 4 ++-- lib/l10n/arb/app_es.arb | 4 ++-- lib/theme/view/character_selection_page.dart | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index cce082f1..f12ccf7d 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -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" } } \ No newline at end of file diff --git a/lib/l10n/arb/app_es.arb b/lib/l10n/arb/app_es.arb index 749f08b5..597a39d8 100644 --- a/lib/l10n/arb/app_es.arb +++ b/lib/l10n/arb/app_es.arb @@ -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" } } \ No newline at end of file diff --git a/lib/theme/view/character_selection_page.dart b/lib/theme/view/character_selection_page.dart index 307244ef..7645f3d6 100644 --- a/lib/theme/view/character_selection_page.dart +++ b/lib/theme/view/character_selection_page.dart @@ -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( + (cubit) => cubit.state.theme.characterTheme, + ); return GestureDetector( onTap: () => context.read().characterSelected(characterTheme),