ソースを参照

Remove unnecssary align

Vishnu Mohandas 5 年 前
コミット
69e746b9c2
1 ファイル変更8 行追加11 行削除
  1. 8 11
      lib/ui/setup_page.dart

+ 8 - 11
lib/ui/setup_page.dart

@@ -107,17 +107,14 @@ class _SetupPageState extends State<SetupPage> {
         children: <Widget>[
           AnimatedSearchIconWidget(),
           Text("Searching for ente server..."),
-          Align(
-            alignment: Alignment.bottomCenter,
-            child: CupertinoButton(
-              child: Text("Enter manually instead"),
-              onPressed: () async {
-                EndpointFinder.instance.cancelSearch();
-                setState(() {
-                  _shouldSearchForEndpoint = false;
-                });
-              },
-            ),
+          CupertinoButton(
+            child: Text("Enter manually instead"),
+            onPressed: () async {
+              EndpointFinder.instance.cancelSearch();
+              setState(() {
+                _shouldSearchForEndpoint = false;
+              });
+            },
           ),
         ],
       ),