From 42b49d5f8642ba8a7b45612b5b285f87380ddb7a Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Thu, 7 May 2020 11:41:56 +0200 Subject: [PATCH] no updated dialog for kiosk, nor for touch mode until we can fit it in --- src/be/nikiroo/fanfix_swing/Main.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/be/nikiroo/fanfix_swing/Main.java b/src/be/nikiroo/fanfix_swing/Main.java index ea61240e..4ec6c2bd 100644 --- a/src/be/nikiroo/fanfix_swing/Main.java +++ b/src/be/nikiroo/fanfix_swing/Main.java @@ -65,6 +65,12 @@ public class Main extends be.nikiroo.fanfix.Main { @Override protected VersionCheck checkUpdates() { + // Kiosk mode should not want to know that + // Touch mode: TODO get an adapted update message (setInfo, setError?) + if (kiosk || touch) { + return null; + } + // We use a SwingWorker instead of deferring to checkUpdates("...") // So we can check in BG new SwingWorker() { -- 2.27.0