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

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

Change to RI tab when viewing RI from LS

parent 67eddba6
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,11 @@ public class NetDbActivity extends I2PActivityBase implements
isRouterInfo, entryHash);
getSupportFragmentManager().beginTransaction()
.replace(R.id.detail_fragment, detailFrag).commit();
// If we are coming from a LS to a RI, change the tab
int currentTab = getSupportActionBar().getSelectedNavigationIndex();
if (isRouterInfo && currentTab !=1)
getSupportActionBar().setSelectedNavigationItem(1);
} else {
// In single-pane mode, simply start the detail activity
// for the selected item ID.
......
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