mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-27 11:16:51 +02:00
Simplification
This commit is contained in:
@@ -246,8 +246,7 @@ public class AdapterMedia extends RecyclerView.Adapter<AdapterMedia.ViewHolder>
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P &&
|
||||
!"image/svg+xml".equals(type) &&
|
||||
!"svg".equals(Helper.getExtension(file.getName())))
|
||||
!"image/svg+xml".equalsIgnoreCase(type))
|
||||
try {
|
||||
return ImageHelper.getScaledDrawable(context, file, type, max);
|
||||
} catch (Throwable ex) {
|
||||
|
||||
Reference in New Issue
Block a user