Skip to content

Commit 6a00085

Browse files
authored
use mediaUri in image object
1 parent b35dc0c commit 6a00085

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/android/js/channel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ Channel.prototype.showEPG = function () {
477477
var header = document.createElement("div");
478478
header.addClass("epg_chinfo align-items-center sticky-top px-2");
479479
var logo = document.createElement("img");
480-
logo.setAttribute("src", self.image || "./images/empty.png");
480+
logo.setAttribute("src", self?.image?.mediaUri || "./images/empty.png");
481481
logo.setAttribute("alt", "channel icon");
482482
logo.addClass("chicon img-fluid d-block");
483483
header.appendChild(logo);

0 commit comments

Comments
 (0)