Commit 96094751 authored by Edward Wang's avatar Edward Wang

MainActivity: oops

parent f616fa1c
......@@ -286,7 +286,7 @@ public class MainActivity extends SherlockFragmentActivity {
boolean found = false;
if(current != null) {
for(int i = 0; i < SidebarAdapter.entries.size(); i++) {
if(SidebarAdapter.entries.get(i).id == current.getTag()) {
if(SidebarAdapter.entries.get(i).id.equals(current.getTag())) {
found = true;
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment