Skip to content

Commit 6447eeb

Browse files
extract string ressource
1 parent 4acbeee commit 6447eeb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ public void onReceivedError(WebView view, int errorCode, String description, Str
418418
@Override
419419
public void run() {
420420
Snackbar.make(mLoginWebView, "Go back to old login method", Snackbar.LENGTH_INDEFINITE)
421-
.setAction("BACK", new View.OnClickListener() {
421+
.setAction(R.string.fallback_weblogin_back, new View.OnClickListener() {
422422
@Override
423423
public void onClick(View v) {
424424
mLoginWebView.setVisibility(View.INVISIBLE);

src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,4 +693,5 @@
693693
<string name="resharing_is_not_allowed">Resharing is not allowed</string>
694694
<string name="whats_new_fingerprint_title">Unlock with fingerprint</string>
695695
<string name="whats_new_fingerprint_content">Use your fingerprint to unlock the app</string>
696+
<string name="fallback_weblogin_back">BACK</string>
696697
</resources>

0 commit comments

Comments
 (0)