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

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

Show "router not ready" message on graph settings page

parent 696ae2bf
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,7 @@ public class SettingsActivity extends PreferenceActivity {
addPreferencesFromResource(R.xml.settings_net);
} else if (ACTION_PREFS_GRAPHS.equals(action)){
addPreferencesFromResource(R.xml.settings_graphs);
RouterContext ctx = getRouterContext();
if (ctx != null)
setupGraphSettings(this, getPreferenceScreen(), ctx);
setupGraphSettings(this, getPreferenceScreen(), getRouterContext());
} else if (ACTION_PREFS_LOGGING.equals(action)) {
addPreferencesFromResource(R.xml.settings_logging);
RouterContext ctx = getRouterContext();
......
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