summaryrefslogtreecommitdiff
path: root/src/ui/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/root.c')
-rw-r--r--src/ui/root.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/root.c b/src/ui/root.c
index 7b2b5b15..59f98aa4 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -525,7 +525,9 @@ void updateToolbarColors_Root(iRoot *d) {
525#if defined (iPlatformMobile) 525#if defined (iPlatformMobile)
526 iWidget *toolBar = findChild_Widget(d->widget, "toolbar"); 526 iWidget *toolBar = findChild_Widget(d->widget, "toolbar");
527 if (toolBar) { 527 if (toolBar) {
528 const iBool isSidebarVisible = isVisible_Widget(findChild_Widget(d->widget, "sidebar")); 528 const iBool isSidebarVisible =
529 isVisible_Widget(findChild_Widget(d->widget, "sidebar")) ||
530 isVisible_Widget(findChild_Widget(d->widget, "sidebar2"));
529 const int bg = isSidebarVisible ? uiBackgroundSidebar_ColorId : 531 const int bg = isSidebarVisible ? uiBackgroundSidebar_ColorId :
530 tmBannerBackground_ColorId; 532 tmBannerBackground_ColorId;
531 setBackgroundColor_Widget(toolBar, bg); 533 setBackgroundColor_Widget(toolBar, bg);