mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-27 07:49:28 +00:00
Create movie type
This commit is contained in:
parent
9662015b3a
commit
dd28045fc7
@ -19,6 +19,11 @@ public enum PostTypes {
|
||||
*/
|
||||
IMAGE,
|
||||
|
||||
/**
|
||||
* Movie
|
||||
*/
|
||||
MOVIE,
|
||||
|
||||
/**
|
||||
* Unknown type
|
||||
*/
|
||||
|
@ -115,6 +115,10 @@ public class PostsHelper {
|
||||
post.setType(PostTypes.IMAGE);
|
||||
break;
|
||||
|
||||
case "movie":
|
||||
post.setType(PostTypes.MOVIE);
|
||||
break;
|
||||
|
||||
default:
|
||||
post.setType(PostTypes.UNKNOWN);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user