Fix for version 1.4.0 (a.k.a., "oopsie") fanfix-1.4.0
authorNiki Roo <niki@nikiroo.be>
Sun, 5 Mar 2017 12:26:10 +0000 (13:26 +0100)
committerNiki Roo <niki@nikiroo.be>
Sun, 5 Mar 2017 12:26:10 +0000 (13:26 +0100)
src/be/nikiroo/fanfix/Instance.java
src/be/nikiroo/fanfix/reader/LocalReaderBook.java

index 1266ac7e437f700564165dadec15521383f4083b..28849b325510ccec2b17b813de99d8fef9036650 100644 (file)
@@ -192,7 +192,8 @@ public class Instance {
         */
        public static boolean isVersionCheckNeeded() {
                try {
-                       long wait = config.getInteger(Config.UPDATE_INTERVAL, 1) * 24 * 60 * 60;
+                       long wait = config.getInteger(Config.UPDATE_INTERVAL, 1) * 24 * 60
+                                       * 60 * 1000;
                        if (wait >= 0) {
                                String lastUpString = IOUtils.readSmallFile(new File(configDir,
                                                "LAST_UPDATE"));
index 8c470785dbf72f99d742125a5195492ace180dc7..9991dfff902e463c6dbae46e56f4f46eca7631de 100644 (file)
@@ -109,7 +109,7 @@ class LocalReaderBook extends JPanel {
                        } else if (meta.getWords() > 0) {
                                optSecondary = meta.getWords() + " words";
                        } else {
-                               optSecondary = "empty";
+                               optSecondary = "";
                        }
                }