From faed38e3c23f6232bfb971d6a072245e421fc414 Mon Sep 17 00:00:00 2001 From: Rui Miguel Alonso Date: Fri, 6 May 2022 18:34:25 +0200 Subject: [PATCH 1/5] Update lib/game/view/widgets/replay_button_overlay.dart Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com> --- lib/game/view/widgets/replay_button_overlay.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/game/view/widgets/replay_button_overlay.dart b/lib/game/view/widgets/replay_button_overlay.dart index 4f40ca27..c0b2a67d 100644 --- a/lib/game/view/widgets/replay_button_overlay.dart +++ b/lib/game/view/widgets/replay_button_overlay.dart @@ -5,7 +5,7 @@ import 'package:pinball/start_game/start_game.dart'; import 'package:pinball_ui/pinball_ui.dart'; /// {@template replay_button_overlay} -/// [Widget] that renders the button responsible to restart the game +/// [Widget] that renders the button responsible for restarting the game. /// {@endtemplate} class ReplayButtonOverlay extends StatelessWidget { /// {@macro replay_button_overlay} From efa81bda029a8cfc0faec01f295ee6602b18dd65 Mon Sep 17 00:00:00 2001 From: Rui Miguel Alonso Date: Fri, 6 May 2022 18:34:56 +0200 Subject: [PATCH 2/5] Update lib/l10n/arb/app_en.arb Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com> --- lib/l10n/arb/app_en.arb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index 6cae5148..36c9b542 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -142,7 +142,7 @@ }, "share": "SHARE", "@share": { - "description": "Text for share link at info screen." + "description": "Text for share link on info screen." }, "gotoIO": "GO TO I/O", "@gotoIO": { From 10e580c36bb2473a97b9053c17c4d2460035c118 Mon Sep 17 00:00:00 2001 From: Rui Miguel Alonso Date: Fri, 6 May 2022 18:35:30 +0200 Subject: [PATCH 3/5] Update test/game/components/backbox/backbox_test.dart Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com> --- test/game/components/backbox/backbox_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/game/components/backbox/backbox_test.dart b/test/game/components/backbox/backbox_test.dart index 2a351979..07972218 100644 --- a/test/game/components/backbox/backbox_test.dart +++ b/test/game/components/backbox/backbox_test.dart @@ -239,7 +239,7 @@ void main() { ); flameTester.test( - 'calls ScoreShareRequested when share on InfoDisplay', + 'adds ScoreShareRequested when share is tapped on InfoDisplay', (game) async { final state = InitialsSuccessState( score: 100, From 50d0f15a071bf8bdbf8b5102da45faae73517653 Mon Sep 17 00:00:00 2001 From: Rui Miguel Alonso Date: Fri, 6 May 2022 18:36:04 +0200 Subject: [PATCH 4/5] Update test/game/components/backbox/bloc/backbox_bloc_test.dart Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com> --- test/game/components/backbox/bloc/backbox_bloc_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/game/components/backbox/bloc/backbox_bloc_test.dart b/test/game/components/backbox/bloc/backbox_bloc_test.dart index bdc9233a..e7efba11 100644 --- a/test/game/components/backbox/bloc/backbox_bloc_test.dart +++ b/test/game/components/backbox/bloc/backbox_bloc_test.dart @@ -94,7 +94,7 @@ void main() { }); blocTest( - 'adds ShareState on ScoreShareRequested', + 'emits ShareState on ScoreShareRequested', setUp: () { leaderboardRepository = _MockLeaderboardRepository(); }, From 4b69be603126e74d8532c44a8be7a5166ce5a12f Mon Sep 17 00:00:00 2001 From: Rui Miguel Alonso Date: Fri, 6 May 2022 18:36:19 +0200 Subject: [PATCH 5/5] Update lib/l10n/arb/app_en.arb Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com> --- lib/l10n/arb/app_en.arb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index 36c9b542..86c96ba7 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -146,7 +146,7 @@ }, "gotoIO": "GO TO I/O", "@gotoIO": { - "description": "Text for going to I/O site link at info screen." + "description": "Text for going to I/O site link on info screen." }, "learnMore": "Learn more about building games in Flutter with", "@learnMore": {