I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit f9f28340 authored by str4d's avatar str4d
Browse files

Fixed out-by-one error in logs

parent 4ef42cb4
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ public class LogFragment extends ListFragment implements ...@@ -109,7 +109,7 @@ public class LogFragment extends ListFragment implements
@Override @Override
public void onListItemClick(ListView parent, View view, int pos, long id) { public void onListItemClick(ListView parent, View view, int pos, long id) {
super.onListItemClick(parent, view, pos, id); super.onListItemClick(parent, view, pos, id);
String entry = mAdapter.getItem(pos); String entry = mAdapter.getItem(pos - 1);
mEntrySelectedCallback.onEntrySelected(entry); mEntrySelectedCallback.onEntrySelected(entry);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment