mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-15 16:51:07 +00:00
now we also need to use the raceboardTimer for checking for the switch back to leaderboard in TvView
This commit is contained in:
1 parent
14162b61f8
commit
98e8325ac2
1 file changed
+2
-2
+2
-2
@@ -240,8 +240,8 @@ public class TVViewController implements RaceTimesInfoProviderListener {
|
||||
|
||||
Date endOfRace = currentRaceTimes.endOfRace;
|
||||
long waitTimeAfterEndOfRace = 60 * 1000; // 1 min
|
||||
if (endOfRace != null && leaderboardTimer.getTime().getTime() > endOfRace.getTime() + waitTimeAfterEndOfRace
|
||||
&& leaderboardTimer.getPlayMode() == PlayModes.Live) {
|
||||
if (endOfRace != null && raceboardTimer.getTime().getTime() > endOfRace.getTime() + waitTimeAfterEndOfRace
|
||||
&& raceboardTimer.getPlayMode() == PlayModes.Live) {
|
||||
updateTvView(TVViews.Leaderboard);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user