mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
No need to call getResources() for getString().
This commit is contained in:
@@ -44,7 +44,7 @@ class ConnectionView extends AddContactView {
|
||||
|
||||
TextView connecting = new TextView(ctx);
|
||||
int remoteCode = container.getRemoteInvitationCode();
|
||||
String format = ctx.getResources().getString(R.string.searching_format);
|
||||
String format = container.getString(R.string.searching_format);
|
||||
connecting.setText(String.format(format, remoteCode));
|
||||
innerLayout.addView(connecting);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user