From d36529d053f7e4f2915e51e7cfbf01aa1c80adf9 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 10 Mar 2021 11:48:17 +0200 Subject: Mobile: Working on the phone preferences --- src/ui/sidebarwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ui/sidebarwidget.c') diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index c2cfe998..8da09b2f 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c @@ -547,7 +547,7 @@ void init_SidebarWidget(iSidebarWidget *d, enum iSidebarSide side) { iLabelWidget *heading = new_LabelWidget("Identities", NULL); setBackgroundColor_Widget(as_Widget(heading), uiBackgroundUnfocusedSelection_ColorId); setTextColor_LabelWidget(heading, uiIcon_ColorId); - setFont_LabelWidget(addChild_Widget(vdiv, iClob(heading)), + setFont_LabelWidget(addChildFlags_Widget(vdiv, iClob(heading), frameless_WidgetFlag), uiLabelLarge_FontId); } iWidget *content = new_Widget(); @@ -622,6 +622,7 @@ static void itemClicked_SidebarWidget_(iSidebarWidget *d, const iSidebarItem *it const iGmDocument *doc = document_DocumentWidget(document_App()); const iGmHeading *head = constAt_Array(headings_GmDocument(doc), item->id); postCommandf_App("document.goto loc:%p", head->text.start); + dismissPortraitPhoneSidebars_Window(get_Window()); break; } case feeds_SidebarMode: { -- cgit v1.2.3