fix: rename _PinballGameLoadingView to PinballGameLoadedView

pull/195/head
arturplaczek 3 years ago
parent edad16ff81
commit 88c8b45d81

@ -76,7 +76,7 @@ class PinballGameView extends StatelessWidget {
return Scaffold( return Scaffold(
backgroundColor: Colors.blue, backgroundColor: Colors.blue,
body: isLoading body: isLoading
? _PinballGameLoadingView() ? const PinballGameLoadedView()
: PinballGameBody( : PinballGameBody(
game: game, game: game,
), ),
@ -84,7 +84,10 @@ class PinballGameView extends StatelessWidget {
} }
} }
class _PinballGameLoadingView extends StatelessWidget { @visibleForTesting
class PinballGameLoadedView extends StatelessWidget {
const PinballGameLoadedView({Key? key}) : super(key: key);
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final loadingProgress = context.select( final loadingProgress = context.select(

Loading…
Cancel
Save