mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
No need to call getResources() for getString().
This commit is contained in:
@@ -139,7 +139,7 @@ implements InvitationListener {
|
||||
}
|
||||
|
||||
private void showToastAndFinish() {
|
||||
String format = getResources().getString(R.string.contact_added_toast);
|
||||
String format = getString(R.string.contact_added_toast);
|
||||
String text = String.format(format, contactName);
|
||||
Toast.makeText(this, text, LENGTH_LONG).show();
|
||||
finish();
|
||||
|
||||
Reference in New Issue
Block a user