mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +03:00
ui:preview Use equalsIgnoreCase() for svg mime check.
This commit is contained in:
parent
295bd2f0f1
commit
1ce4c51ed2
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ public class PreviewImageFragment extends FileFragment {
|
|||
} else {
|
||||
imageView.setImageBitmap(bitmap);
|
||||
}
|
||||
} else if (result.ocFile.getMimetype().equals("image/svg+xml")) {
|
||||
} else if (result.ocFile.getMimetype().equalsIgnoreCase("image/svg+xml")) {
|
||||
imageView.setImageDrawable(result.drawable);
|
||||
} else if (result.ocFile.getMimetype().equalsIgnoreCase("image/gif")) {
|
||||
GifDrawable gif;
|
||||
|
|
Loading…
Reference in a new issue