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

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

Fixed Addressbook domain opening in left column of two-pane mode

parent 0eb0c676
No related branches found
No related tags found
No related merge requests found
...@@ -70,14 +70,9 @@ public class AddressbookActivity extends I2PActivityBase ...@@ -70,14 +70,9 @@ public class AddressbookActivity extends I2PActivityBase
setResult(Activity.RESULT_OK, result); setResult(Activity.RESULT_OK, result);
finish(); finish();
} else { } else {
WebFragment f = new WebFragment(); Intent wa = new Intent(this, WebActivity.class);
Bundle args = new Bundle(); wa.putExtra(WebFragment.HTML_URI, "http://" + host + '/');
args.putString(WebFragment.HTML_URI, "http://" + host + '/'); startActivity(wa);
f.setArguments(args);
getSupportFragmentManager().beginTransaction()
.replace(R.id.main_fragment, f)
.addToBackStack(null)
.commit();
} }
} }
......
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