mirror of
https://github.com/nextcloud/android.git
synced 2024-12-20 16:02:01 +03:00
Add a dot, just in case
This commit is contained in:
parent
d15bf96378
commit
423252d923
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ public class PreviewImageFragment extends FileFragment {
|
|||
Log_OC.e(TAG, "File could not be loaded as a bitmap: " + storagePath);
|
||||
break;
|
||||
} else {
|
||||
if (ocFile.getFileName().endsWith("jpg") || ocFile.getFileName().endsWith("jpeg")) {
|
||||
if (ocFile.getFileName().endsWith(".jpg") || ocFile.getFileName().endsWith(".jpeg")) {
|
||||
// Rotate image, obeying exif tag.
|
||||
result = BitmapUtils.rotateImage(result, storagePath);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue