From b5bc3ccf192bd43e37c194627a9ac189fbf9c359 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 16 Apr 2019 19:43:52 +0200 Subject: [PATCH] Fixed handling new IP addresses --- app/src/main/java/eu/faircode/netguard/DatabaseHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java b/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java index ce71492c..8ecca42a 100644 --- a/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java +++ b/app/src/main/java/eu/faircode/netguard/DatabaseHelper.java @@ -812,7 +812,7 @@ public class DatabaseHelper extends SQLiteOpenHelper { db.setTransactionSuccessful(); - return (rows == 0); + return (rows > 0); } finally { db.endTransaction(); }