Skip to content

Commit

Permalink
style: DirectCameraScreen loading indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmercerind authored Oct 8, 2022
1 parent f088a8b commit c41f6af
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/widgets/direct_camera.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,11 @@ class _DirectCameraScreenState extends State<DirectCameraScreen> {
}
return Future.value(true);
})(),
loadingBuilder: (context) => const Center(
child: CircularProgressIndicator(),
loadingBuilder: (context) => const SizedBox(
height: 96.0,
child: Center(
child: CircularProgressIndicator(),
),
),
builder: (context, data) {
return server.devices.isEmpty
Expand Down

0 comments on commit c41f6af

Please sign in to comment.