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(); }