mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-09 12:32:40 +01:00
26 lines
998 B
JavaScript
26 lines
998 B
JavaScript
function isWallpaper(type) {
|
|
return type === ContentTypes.InstalledType.VideoWallpaper
|
|
|| type === ContentTypes.InstalledType.HTMLWallpaper
|
|
|| type === ContentTypes.InstalledType.QMLWallpaper
|
|
|| type === ContentTypes.InstalledType.GifWallpaper
|
|
|| type === ContentTypes.InstalledType.WebsiteWallpaper
|
|
|| type === ContentTypes.InstalledType.GodotWallpaper
|
|
}
|
|
|
|
function isWidget(type) {
|
|
return type === ContentTypes.InstalledType.HTMLWidget || type === ContentTypes.InstalledType.QMLWidget
|
|
}
|
|
|
|
function isScene(type) {
|
|
return type === ContentTypes.InstalledType.HTMLWallpaper
|
|
|| type === ContentTypes.InstalledType.QMLWallpaper
|
|
|| type === ContentTypes.InstalledType.WebsiteWallpaper
|
|
|| type === ContentTypes.InstalledType.GodotWallpaper
|
|
}
|
|
|
|
function isVideo(type) {
|
|
return type === ContentTypes.InstalledType.VideoWallpaper
|
|
|| type === ContentTypes.InstalledType.GifWallpaper
|
|
}
|
|
|