mirror of https://github.com/M66B/NetGuard.git
Fixed handling new IP addresses
This commit is contained in:
parent
43877cc106
commit
b5bc3ccf19
|
@ -812,7 +812,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
||||||
|
|
||||||
db.setTransactionSuccessful();
|
db.setTransactionSuccessful();
|
||||||
|
|
||||||
return (rows == 0);
|
return (rows > 0);
|
||||||
} finally {
|
} finally {
|
||||||
db.endTransaction();
|
db.endTransaction();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue