[lunaSend] subtitle 조건문 수정
This commit is contained in:
@@ -147,11 +147,7 @@ export const setSubtitleEnable = (
|
||||
captionEnable,
|
||||
{ onSuccess, onFailure, onComplete }
|
||||
) => {
|
||||
if (
|
||||
typeof window === "object" &&
|
||||
window.PalmSystem &&
|
||||
process.env.REACT_APP_MODE !== "DEBUG"
|
||||
) {
|
||||
if (window.PalmSystem) {
|
||||
if (captionEnable) {
|
||||
return new LS2Request().send({
|
||||
service: "luna://com.webos.service.tv.subtitle",
|
||||
@@ -180,11 +176,7 @@ export const setSubtitleEnableOver5 = (
|
||||
{ onSuccess, onFailure, onComplete }
|
||||
) => {
|
||||
console.log("#sutitle action");
|
||||
if (
|
||||
typeof window === "object" &&
|
||||
window.PalmSystem &&
|
||||
process.env.REACT_APP_MODE !== "DEBUG"
|
||||
) {
|
||||
if (window.PalmSystem) {
|
||||
console.log("###showId", showId);
|
||||
console.log("#onSuccess", onSuccess);
|
||||
return new LS2Request().send({
|
||||
|
||||
Reference in New Issue
Block a user