Эх сурвалжийг харах

fix wrong error message displayed

Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
Jonas Mayer 1 жил өмнө
parent
commit
a9ad910dad

+ 1 - 1
app/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java

@@ -423,7 +423,7 @@ public final class ErrorMessageAdapter {
                 message = res.getString(R.string.auth_not_configured_title);
                 message = res.getString(R.string.auth_not_configured_title);
 
 
             } else if (result.getCode() == ResultCode.FILE_NOT_FOUND) {
             } else if (result.getCode() == ResultCode.FILE_NOT_FOUND) {
-                message = res.getString(R.string.auth_incorrect_path_title);
+                message = res.getString(R.string.file_not_found);
 
 
             } else if (result.getCode() == ResultCode.OAUTH2_ERROR) {
             } else if (result.getCode() == ResultCode.OAUTH2_ERROR) {
                 message = res.getString(R.string.auth_oauth_error);
                 message = res.getString(R.string.auth_oauth_error);