Remove unnecssary align
This commit is contained in:
parent
51b97dd698
commit
69e746b9c2
1 changed files with 8 additions and 11 deletions
|
@ -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;
|
||||
});
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue