mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 16:49:40 +01:00
Hide quality selector when no images selected.
This commit is contained in:
@@ -313,6 +313,10 @@ public class MediaUtil {
|
||||
return isImageType(contentType) || isVideoType(contentType);
|
||||
}
|
||||
|
||||
public static boolean isImageAndNotGif(@NonNull String contentType) {
|
||||
return isImageType(contentType) && !isGif(contentType);
|
||||
}
|
||||
|
||||
public static boolean isLongTextType(String contentType) {
|
||||
return (null != contentType) && contentType.equals(LONG_TEXT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user