aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estuary
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-11-25 14:23:10 +0100
committerRechi <Rechi@users.noreply.github.com>2018-11-25 14:23:10 +0100
commit236d0c8775f3ddaaaf364e2259f734e7fd66a289 (patch)
tree9b67a0e078fba0f0de09d6fb9713e5266e38912e /addons/skin.estuary
parente29b4bbc6e8a39e7ad5ab7b51d8b6e7083f187ce (diff)
[estuary] add default addon image fallback in addon browser
Diffstat (limited to 'addons/skin.estuary')
-rw-r--r--addons/skin.estuary/xml/AddonBrowser.xml4
-rw-r--r--addons/skin.estuary/xml/View_50_List.xml3
2 files changed, 5 insertions, 2 deletions
diff --git a/addons/skin.estuary/xml/AddonBrowser.xml b/addons/skin.estuary/xml/AddonBrowser.xml
index dd211bcc78..8e243175b2 100644
--- a/addons/skin.estuary/xml/AddonBrowser.xml
+++ b/addons/skin.estuary/xml/AddonBrowser.xml
@@ -17,7 +17,9 @@
<visible>Control.IsVisible(55)</visible>
<visible>Container.Content(addons) | Container.Content()</visible>
<include>Visible_Left</include>
- <include>ListThumbInfoPanel</include>
+ <include content="ListThumbInfoPanel">
+ <param name="fallback_image" value="DefaultAddon.png" />
+ </include>
</control>
<include content="TopBar">
<param name="breadcrumbs_label" value="$LOCALIZE[24001]" />
diff --git a/addons/skin.estuary/xml/View_50_List.xml b/addons/skin.estuary/xml/View_50_List.xml
index d5d0f05d65..c6d5d7a9e3 100644
--- a/addons/skin.estuary/xml/View_50_List.xml
+++ b/addons/skin.estuary/xml/View_50_List.xml
@@ -160,6 +160,7 @@
</definition>
</include>
<include name="ListThumbInfoPanel">
+ <param name="fallback_image"></param>
<param name="flip_bg">false</param>
<definition>
<control type="group">
@@ -175,7 +176,7 @@
<height>470</height>
<aspectratio aligny="bottom">keep</aspectratio>
<fadetime>300</fadetime>
- <texture background="true">$VAR[IconWallThumbVar]</texture>
+ <texture fallback="$PARAM[fallback_image]" background="true">$VAR[IconWallThumbVar]</texture>
<visible>!String.IsEqual(ListItem.DbType,episode)</visible>
</control>
<control type="image">