mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 14:27:15 +00:00
Fixed refresh loop in desktop version
This commit is contained in:
1 parent
1f27421b82
commit
7b32a600bc
1 file changed
+1
-1
+1
-1
@@ -43,7 +43,7 @@ public class ApplicationActivityMapper implements ActivityMapper {
|
||||
@Override
|
||||
public Activity getActivity(Place rawPlace) {
|
||||
Place place = placeUpdater.getRealPlace(rawPlace);
|
||||
if (place instanceof HasMobileVersion && !SwitchingEntryPoint.isForcedDesktop()) {
|
||||
if (place instanceof HasMobileVersion && SwitchingEntryPoint.isMobile() && !SwitchingEntryPoint.isForcedDesktop()) {
|
||||
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
||||
@Override
|
||||
public void execute() {
|
||||
|
||||
Reference in new issue
Block a user