Remove unnecssary align

This commit is contained in:
Vishnu Mohandas 2020-05-17 23:19:36 +05:30
parent 51b97dd698
commit 69e746b9c2

View file

@ -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;
});
},
),
],
),