mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-26 08:02:47 +00:00
Fixed log view menu
This commit is contained in:
parent
e16be9e6f8
commit
a822d9da2c
2 changed files with 3 additions and 2 deletions
|
@ -159,7 +159,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
|||
public Cursor getLog(String filter) {
|
||||
SQLiteDatabase db = this.getReadableDatabase();
|
||||
String query = "SELECT ID AS _id, * FROM log";
|
||||
query += " WHERE ip like ?";
|
||||
query += " WHERE ip LIKE ?";
|
||||
query += " ORDER BY time DESC";
|
||||
|
||||
return db.rawQuery(query, new String[]{"%" + filter + "%"});
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:netguard="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/menu_enabled"
|
||||
android:checkable="true"
|
||||
|
|
Loading…
Reference in a new issue