1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-26 04:48:51 +00:00

Deprecate old movie system

This commit is contained in:
Pierre HUBERT 2021-02-13 11:27:13 +01:00
parent 0c526abfe8
commit 581059cb1d
4 changed files with 1 additions and 13 deletions

View File

@ -2,13 +2,4 @@
///
/// @author Pierre HUBERT
enum PostKind {
TEXT,
IMAGE,
WEB_LINK,
PDF,
MOVIE,
COUNTDOWN,
SURVEY,
YOUTUBE
}
enum PostKind { TEXT, IMAGE, WEB_LINK, PDF, COUNTDOWN, SURVEY, YOUTUBE }

View File

@ -16,7 +16,6 @@ const _NotificationElementTypeAPImapping = {
"post_text": NotificationElementType.POST_TEXT,
"post_img": NotificationElementType.POST_IMAGE,
"post_youtube": NotificationElementType.POST_YOUTUBE,
"post_movie": NotificationElementType.POST_MOVIE,
"post_weblink": NotificationElementType.POST_WEBLINK,
"post_pdf": NotificationElementType.POST_PDF,
"post_timer": NotificationElementType.POST_TIMER,

View File

@ -29,7 +29,6 @@ const _APIPostsKindsMap = {
"image": PostKind.IMAGE,
"weblink": PostKind.WEB_LINK,
"pdf": PostKind.PDF,
"movie": PostKind.MOVIE,
"countdown": PostKind.COUNTDOWN,
"survey": PostKind.SURVEY,
"youtube": PostKind.YOUTUBE

View File

@ -13,7 +13,6 @@ enum NotificationElementType {
POST_TEXT,
POST_IMAGE,
POST_YOUTUBE,
POST_MOVIE,
POST_WEBLINK,
POST_PDF,
POST_TIMER,