Merge branch 'feat/info-screen' of github.com:VGVentures/pinball into feat/info-screen

pull/359/head
RuiAlonso 3 years ago
commit a017ec4d41

@ -5,7 +5,7 @@ import 'package:pinball/start_game/start_game.dart';
import 'package:pinball_ui/pinball_ui.dart'; import 'package:pinball_ui/pinball_ui.dart';
/// {@template replay_button_overlay} /// {@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} /// {@endtemplate}
class ReplayButtonOverlay extends StatelessWidget { class ReplayButtonOverlay extends StatelessWidget {
/// {@macro replay_button_overlay} /// {@macro replay_button_overlay}

@ -142,11 +142,11 @@
}, },
"share": "SHARE", "share": "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": "GO TO I/O",
"@gotoIO": { "@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": "Learn more about building games in Flutter with",
"@learnMore": { "@learnMore": {

@ -239,7 +239,7 @@ void main() {
); );
flameTester.test( flameTester.test(
'calls ScoreShareRequested when share on InfoDisplay', 'adds ScoreShareRequested when share is tapped on InfoDisplay',
(game) async { (game) async {
final state = InitialsSuccessState( final state = InitialsSuccessState(
score: 100, score: 100,

@ -94,7 +94,7 @@ void main() {
}); });
blocTest<BackboxBloc, BackboxState>( blocTest<BackboxBloc, BackboxState>(
'adds ShareState on ScoreShareRequested', 'emits ShareState on ScoreShareRequested',
setUp: () { setUp: () {
leaderboardRepository = _MockLeaderboardRepository(); leaderboardRepository = _MockLeaderboardRepository();
}, },

Loading…
Cancel
Save