diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index c096c00b..4d6a197a 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -540,6 +540,11 @@ static iBool handleNavBarCommands_(iWidget *navBar, const char *cmd) { | |||
540 | iInputWidget *url = findChild_Widget(navBar, "url"); | 540 | iInputWidget *url = findChild_Widget(navBar, "url"); |
541 | setTextCStr_InputWidget(url, suffixPtr_Command(cmd, "url")); | 541 | setTextCStr_InputWidget(url, suffixPtr_Command(cmd, "url")); |
542 | checkLoadAnimation_Window_(get_Window()); | 542 | checkLoadAnimation_Window_(get_Window()); |
543 | if (deviceType_App() == phone_AppDeviceType && isPortrait_App()) { | ||
544 | if (isVisible_Widget(findWidget_App("sidebar"))) { | ||
545 | postCommand_App("sidebar.toggle"); | ||
546 | } | ||
547 | } | ||
543 | return iFalse; | 548 | return iFalse; |
544 | } | 549 | } |
545 | } | 550 | } |