Used variable again
This commit is contained in:
@@ -86,9 +86,8 @@ class _MainMenuViewState extends State<MainMenuView> {
|
|||||||
child: CupertinoPageScaffold(
|
child: CupertinoPageScaffold(
|
||||||
child: SafeArea(
|
child: SafeArea(
|
||||||
child: Visibility(
|
child: Visibility(
|
||||||
replacement:
|
visible: _isLoading,
|
||||||
const Center(child: CupertinoActivityIndicator()),
|
replacement: Visibility(
|
||||||
child: Visibility(
|
|
||||||
visible: gameManager.gameList.isEmpty,
|
visible: gameManager.gameList.isEmpty,
|
||||||
replacement: ListView.separated(
|
replacement: ListView.separated(
|
||||||
itemCount: gameManager.gameList.length,
|
itemCount: gameManager.gameList.length,
|
||||||
@@ -206,6 +205,7 @@ class _MainMenuViewState extends State<MainMenuView> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
child: const Center(child: CupertinoActivityIndicator()),
|
||||||
),
|
),
|
||||||
)));
|
)));
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user