- simple_display: show mute icon in muted mode

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-17 21:17:36 +01:00
committed by Thilo Graf
parent 94517d3404
commit ec7403c060

View File

@@ -399,6 +399,8 @@ void CLCD::showVolume(const char vol, const bool update)
if (volume > 100)
volume = 100;
ShowIcon(FP_ICON_MUTE, muted);
if (muted)
{
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
@@ -869,6 +871,9 @@ void CLCD::ShowIcon(fp_icon i, bool on)
SetIcons(SPARK_CLOCK, on);
proc_put("/proc/stb/lcd/symbol_timeshift", on);
break;
case FP_ICON_MUTE:
proc_put("/proc/stb/lcd/symbol_mute", on);
break;
default:
break;
}