Selaa lähdekoodia

Use Sizebox.shrink()

Neeraj Gupta 1 vuosi sitten
vanhempi
commit
fb0fa73c03
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/ui/code_widget.dart

+ 1 - 1
lib/ui/code_widget.dart

@@ -179,7 +179,7 @@ class _CodeWidgetState extends State<CodeWidget> {
                               children: [
                                 (widget.code.hasSynced != null &&
                                         widget.code.hasSynced!) || !hasConfiguredAccount
-                                    ? Container()
+                                    ? const SizedBox.shrink()
                                     : const Icon(
                                         Icons.sync_disabled,
                                         size: 20,