From 81af50a8be0803e49828c1812cc757e623b80c3f Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 23 Dec 2016 11:43:16 +0900 Subject: [PATCH] Changed GUI update interval to 1 second (fixes #820) --- .../com/nutomic/syncthingandroid/service/SyncthingService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/nutomic/syncthingandroid/service/SyncthingService.java b/src/main/java/com/nutomic/syncthingandroid/service/SyncthingService.java index fc4b618b..ede2c639 100644 --- a/src/main/java/com/nutomic/syncthingandroid/service/SyncthingService.java +++ b/src/main/java/com/nutomic/syncthingandroid/service/SyncthingService.java @@ -62,7 +62,7 @@ public class SyncthingService extends Service implements /** * Interval in ms at which the GUI is updated (eg {@link com.nutomic.syncthingandroid.fragments.DrawerFragment}). */ - public static final long GUI_UPDATE_INTERVAL = TimeUnit.SECONDS.toMillis(10); + public static final long GUI_UPDATE_INTERVAL = TimeUnit.SECONDS.toMillis(1); /** * name of the public key file in the data directory.