From: Niki Roo Date: Thu, 7 May 2020 09:41:56 +0000 (+0200) Subject: no updated dialog for kiosk, nor for touch mode until we can fit it in X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=42b49d5f8642ba8a7b45612b5b285f87380ddb7a;p=fanfix-swing.git no updated dialog for kiosk, nor for touch mode until we can fit it in --- 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() {