diff --git a/lib/page/capture_page.dart b/lib/page/capture_page.dart index fc57028..ada6c42 100644 --- a/lib/page/capture_page.dart +++ b/lib/page/capture_page.dart @@ -291,26 +291,28 @@ class _CapturePageState extends State with WidgetsBindingObserver { Widget accurancyComponent() { return _accuracy == null ? Container() - : Container( - decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.all(Radius.circular(8)), - ), - padding: EdgeInsets.all(8.0), - child: Row(mainAxisSize: MainAxisSize.min, children: [ - Icon( - _accuracy! > 10 ? Icons.error : Icons.gps_fixed, - size: 24, - color: _accuracy! > 10 ? Colors.red : Colors.blue, - ), - SizedBox(width: 8), - DefaultTextStyle( - style: TextStyle( - color: _accuracy! > 10 ? Colors.red : Colors.blue), - child: Text( - "${_accuracy?.toStringAsFixed(2)} ${AppLocalizations.of(context)!.meters}"), - ) - ])); + : Padding( + padding: EdgeInsets.all(32), + child: Container( + decoration: BoxDecoration( + color: Colors.white, + borderRadius: BorderRadius.all(Radius.circular(8)), + ), + padding: EdgeInsets.all(8.0), + child: Row(mainAxisSize: MainAxisSize.min, children: [ + Icon( + _accuracy! > 10 ? Icons.error : Icons.gps_fixed, + size: 24, + color: _accuracy! > 10 ? Colors.red : Colors.blue, + ), + SizedBox(width: 8), + DefaultTextStyle( + style: TextStyle( + color: _accuracy! > 10 ? Colors.red : Colors.blue), + child: Text( + "${_accuracy?.toStringAsFixed(2)} ${AppLocalizations.of(context)!.meters}"), + ) + ]))); } Widget createBurstButtons() {