Show newly created forums after creating them.

This commit is contained in:
akwizgran
2014-03-01 11:45:13 +00:00
parent 0bab22db38
commit ebe1db9fb1
4 changed files with 29 additions and 4 deletions

View File

@@ -132,7 +132,9 @@ implements InvitationListener {
}
private void showToastAndFinish() {
Toast.makeText(this, R.string.contact_added_toast, LENGTH_LONG).show();
String format = getResources().getString(R.string.contact_added_toast);
String text = String.format(format, contactName);
Toast.makeText(this, text, LENGTH_LONG).show();
finish();
}