From 491a8a0ccba6b4b9a229a541966f30d63ceed65a Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Fri, 22 Jan 2016 09:22:43 +0100 Subject: [PATCH] Version 1.0-beta v2 fixed sync --- app/build.gradle | 2 +- app/src/main/java/ch/dissem/apps/abit/util/Preferences.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index b74b60f..4b3a404 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ android { applicationId "ch.dissem.apps.abit" minSdkVersion 19 targetSdkVersion 23 - versionCode 2 + versionCode 3 versionName "1.0-beta" } signingConfigs { diff --git a/app/src/main/java/ch/dissem/apps/abit/util/Preferences.java b/app/src/main/java/ch/dissem/apps/abit/util/Preferences.java index 7f67191..a0cee3f 100644 --- a/app/src/main/java/ch/dissem/apps/abit/util/Preferences.java +++ b/app/src/main/java/ch/dissem/apps/abit/util/Preferences.java @@ -42,7 +42,7 @@ public class Preferences { public static boolean useTrustedNode(Context ctx) { String trustedNode = getPreference(ctx, PREFERENCE_TRUSTED_NODE); - return trustedNode == null || trustedNode.trim().isEmpty(); + return trustedNode != null && !trustedNode.trim().isEmpty(); } /**