Don't show tracker tor bridge warning if more that 3 trackers finished

This commit is contained in:
Tamas Kocsis 2020-12-03 20:02:48 +01:00
parent 3ffa3c2f79
commit b3c9de5e47
2 changed files with 3 additions and 3 deletions

View File

@ -658,7 +658,7 @@ class Wrapper
else else
@announcer_line = @loading.printLine(status_line) @announcer_line = @loading.printLine(status_line)
if status_db.error.length > (status_db.announced.length + status_db.announcing.length) if status_db.error.length > (status_db.announced.length + status_db.announcing.length) and status_db.announced.length < 3
@loading.showTrackerTorBridge(@server_info) @loading.showTrackerTorBridge(@server_info)
updateProgress: (site_info) -> updateProgress: (site_info) ->

View File

@ -629,7 +629,6 @@ $.extend( $.easing,
}).call(this); }).call(this);
/* ---- Loading.coffee ---- */ /* ---- Loading.coffee ---- */
@ -1918,7 +1917,7 @@ $.extend( $.easing,
} else { } else {
this.announcer_line = this.loading.printLine(status_line); this.announcer_line = this.loading.printLine(status_line);
} }
if (status_db.error.length > (status_db.announced.length + status_db.announcing.length)) { if (status_db.error.length > (status_db.announced.length + status_db.announcing.length) && status_db.announced.length < 3) {
return this.loading.showTrackerTorBridge(this.server_info); return this.loading.showTrackerTorBridge(this.server_info);
} }
}; };
@ -2012,6 +2011,7 @@ $.extend( $.easing,
}).call(this); }).call(this);
/* ---- WrapperZeroFrame.coffee ---- */ /* ---- WrapperZeroFrame.coffee ---- */