fix wrong error message displayed

Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
This commit is contained in:
Jonas Mayer 2024-02-06 19:33:17 +01:00 committed by Jonas Mayer
parent e6b5fd7a0e
commit a9ad910dad

View file

@ -423,7 +423,7 @@ public final class ErrorMessageAdapter {
message = res.getString(R.string.auth_not_configured_title);
} 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) {
message = res.getString(R.string.auth_oauth_error);