diff --git a/app/src/main/java/com/cappielloantonio/tempo/util/Preferences.kt b/app/src/main/java/com/cappielloantonio/tempo/util/Preferences.kt index 5cbe9035..253663e5 100644 --- a/app/src/main/java/com/cappielloantonio/tempo/util/Preferences.kt +++ b/app/src/main/java/com/cappielloantonio/tempo/util/Preferences.kt @@ -175,7 +175,7 @@ object Preferences { @JvmStatic fun isInUseServerAddressLocal(): Boolean { - return getInUseServerAddress() == getLocalAddress() + return getInUseServerAddress() == getLocalAddress() && !getLocalAddress().isNullOrEmpty() } @JvmStatic