Skip to content

Commit

Permalink
replace loading indicator with scaffold placeholder
Browse files Browse the repository at this point in the history
(cherry picked from commit cc20c3c)
  • Loading branch information
Predidit authored and ErBWs committed Dec 19, 2024
1 parent 472350d commit ace0946
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions lib/pages/init_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,27 +178,8 @@ class LoadingWidget extends StatelessWidget {

@override
Widget build(BuildContext context) {
var size = MediaQuery.of(context).size;
return Scaffold(
body: Center(
child: SizedBox(
height: 200,
child: Flex(
direction: Axis.vertical,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
SizedBox(
width: size.width * 0.6,
child: const LinearProgressIndicator(
backgroundColor: Colors.black12,
minHeight: 10,
),
),
const Text("初始化中"),
],
),
),
),
body: Container()
);
}
}

0 comments on commit ace0946

Please sign in to comment.