diff --git a/app/src/main/java/app/grapheneos/pdfviewer/PdfViewer.java b/app/src/main/java/app/grapheneos/pdfviewer/PdfViewer.java
index 1809a39..51f5de1 100644
--- a/app/src/main/java/app/grapheneos/pdfviewer/PdfViewer.java
+++ b/app/src/main/java/app/grapheneos/pdfviewer/PdfViewer.java
@@ -277,7 +277,7 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
try {
mInputStream = getContentResolver().openInputStream(mUri);
} catch (FileNotFoundException ignored) {
- snackbar.setText(R.string.io_error).show();
+ snackbar.setText(R.string.error_while_opening).show();
}
return new WebResourceResponse("application/pdf", null, mInputStream);
}
@@ -471,7 +471,7 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
}
mInputStream = getContentResolver().openInputStream(mUri);
} catch (IOException e) {
- snackbar.setText(R.string.io_error).show();
+ snackbar.setText(R.string.error_while_opening).show();
return;
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 004fbb6..e68fa0f 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -19,7 +19,7 @@
Cannot open file with invalid MIME type
Cannot open legacy file paths from insecure apps
- Received I/O error trying to open content
+ Error encountered trying to open content
Error encountered while saving
WebView out-of-date