fix: Improve dns checking on recovery

No special case for when a user only has one server
pull/190/head
NaiJi ✨ 2023-01-29 08:31:40 +04:00
parent 4e1659cfdc
commit 9cbe3b2abb
1 changed files with 1 additions and 2 deletions

View File

@ -55,8 +55,7 @@ class _RecoveryConfirmServerState extends State<RecoveryConfirmServer> {
if (servers != null && servers.isNotEmpty)
Column(
children: [
if (servers.length == 1 ||
(!_isExtended && _isServerFound(servers)))
if (!_isExtended && _isServerFound(servers))
confirmServer(
context,
_firstValidServer(servers),