2022-04-23 14:32:36 +02:00
|
|
|
function isWallpaper(type) {
|
2023-12-01 16:15:53 +01:00
|
|
|
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
|
2022-04-23 14:32:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
function isWidget(type) {
|
2023-12-01 16:15:53 +01:00
|
|
|
return type === ContentTypes.InstalledType.HTMLWidget || type === ContentTypes.InstalledType.QMLWidget
|
2022-04-23 14:32:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
function isScene(type) {
|
2023-12-01 16:15:53 +01:00
|
|
|
return type === ContentTypes.InstalledType.HTMLWallpaper
|
|
|
|
|| type === ContentTypes.InstalledType.QMLWallpaper
|
|
|
|
|| type === ContentTypes.InstalledType.WebsiteWallpaper
|
|
|
|
|| type === ContentTypes.InstalledType.GodotWallpaper
|
2022-04-23 14:32:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
function isVideo(type) {
|
2023-12-01 16:15:53 +01:00
|
|
|
return type === ContentTypes.InstalledType.VideoWallpaper
|
|
|
|
|| type === ContentTypes.InstalledType.GifWallpaper
|
2022-04-23 14:32:36 +02:00
|
|
|
}
|
|
|
|
|