From ff8aa48b3e7014039bd8467070a51cc499ec2cf8 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Sun, 12 May 2019 18:52:27 +0400 Subject: [PATCH] Removed port forwarding error notification when discovering. --- .../io/github/chronosx88/influence/logic/MainLogic.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/io/github/chronosx88/influence/logic/MainLogic.java b/app/src/main/java/io/github/chronosx88/influence/logic/MainLogic.java index 460afd1..3ddaaeb 100644 --- a/app/src/main/java/io/github/chronosx88/influence/logic/MainLogic.java +++ b/app/src/main/java/io/github/chronosx88/influence/logic/MainLogic.java @@ -131,11 +131,7 @@ public class MainLogic implements CoreContracts.IMainLogicContract { boolean discoveredExternalAddress = false; - if(!discoverExternalAddress()) { - JsonObject jsonObject = new JsonObject(); - jsonObject.addProperty("action", UIActions.PORT_FORWARDING_ERROR); - AppHelper.getObservable().notifyUIObservers(jsonObject); - } else { + if(discoverExternalAddress()) { discoveredExternalAddress = true; }