mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 09:16:54 +00:00
fix: Improve dns checking on recovery
No special case for when a user only has one server
This commit is contained in:
parent
4e1659cfdc
commit
9cbe3b2abb
|
@ -55,8 +55,7 @@ class _RecoveryConfirmServerState extends State<RecoveryConfirmServer> {
|
||||||
if (servers != null && servers.isNotEmpty)
|
if (servers != null && servers.isNotEmpty)
|
||||||
Column(
|
Column(
|
||||||
children: [
|
children: [
|
||||||
if (servers.length == 1 ||
|
if (!_isExtended && _isServerFound(servers))
|
||||||
(!_isExtended && _isServerFound(servers)))
|
|
||||||
confirmServer(
|
confirmServer(
|
||||||
context,
|
context,
|
||||||
_firstValidServer(servers),
|
_firstValidServer(servers),
|
||||||
|
|
Loading…
Reference in a new issue