[Client] Allow r0.6.0 to connect
This commit is contained in:
parent
31871235a5
commit
99b99e7ac9
|
@ -217,7 +217,7 @@ class Client {
|
||||||
final versions = List<String>.from(versionResp['versions']);
|
final versions = List<String>.from(versionResp['versions']);
|
||||||
|
|
||||||
for (var i = 0; i < versions.length; i++) {
|
for (var i = 0; i < versions.length; i++) {
|
||||||
if (versions[i] == 'r0.5.0') {
|
if (versions[i] == 'r0.5.0' || versions[i] == 'r0.6.0') {
|
||||||
break;
|
break;
|
||||||
} else if (i == versions.length - 1) {
|
} else if (i == versions.length - 1) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue