summaryrefslogtreecommitdiff
path: root/src/ui/root.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-06-15 11:12:24 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-06-15 11:12:24 +0300
commit8d2154465c5ec92dc9a02f4004ea6ea660467410 (patch)
tree51f5f85233ef0636243b44e9e3af6cfcdb0bc6f4 /src/ui/root.c
parentd5a87c08b3ed5521a21a72c048e5cf4db68314fa (diff)
Mobile: Minor tweaks
Slightly thicker fetch progress indicator, smaller search query indicator on the phone.
Diffstat (limited to 'src/ui/root.c')
-rw-r--r--src/ui/root.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/root.c b/src/ui/root.c
index 6c00db0f..c3a9596f 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -571,7 +571,8 @@ static void showSearchQueryIndicator_(iBool show) {
571 iWidget *navBar = findWidget_Root("navbar"); 571 iWidget *navBar = findWidget_Root("navbar");
572 iWidget *indicator = findWidget_App("input.indicator.search"); 572 iWidget *indicator = findWidget_App("input.indicator.search");
573 updateTextCStr_LabelWidget((iLabelWidget *) indicator, 573 updateTextCStr_LabelWidget((iLabelWidget *) indicator,
574 flags_Widget(navBar) & tight_WidgetFlag 574 (deviceType_App() == phone_AppDeviceType ||
575 flags_Widget(navBar) & tight_WidgetFlag)
575 ? "${status.query.tight} " return_Icon 576 ? "${status.query.tight} " return_Icon
576 : "${status.query} " return_Icon); 577 : "${status.query} " return_Icon);
577 indicator->rect.size.x = defaultSize_LabelWidget((iLabelWidget *) indicator).x; /* don't touch height */ 578 indicator->rect.size.x = defaultSize_LabelWidget((iLabelWidget *) indicator).x; /* don't touch height */