diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-20 22:08:03 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-20 22:08:03 +0200 |
commit | dff12096f941092558b2c2c7c65ae3f83c75eb13 (patch) | |
tree | 0fa789b7bf45c0425281d6045cdcfdf7e2820426 /src/ui/window.c | |
parent | e0114e297ab1cd4674bea23f260ce5ec05376a78 (diff) |
Mobile: Balance navbar buttons
Moved Identity button to the right since on the left there is the new Sidebar button.
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 689037f9..1249a0b4 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -1031,6 +1031,11 @@ static void setupUserInterface_Window(iWindow *d) { | |||
1031 | updateSize_LabelWidget(reload); | 1031 | updateSize_LabelWidget(reload); |
1032 | setId_Widget(addChild_Widget(rightEmbed, iClob(makePadding_Widget(0))), "url.embedpad"); | 1032 | setId_Widget(addChild_Widget(rightEmbed, iClob(makePadding_Widget(0))), "url.embedpad"); |
1033 | } | 1033 | } |
1034 | if (deviceType_App() != desktop_AppDeviceType) { | ||
1035 | /* On mobile, the Identities button is on the right side of the URL bar. */ | ||
1036 | iWidget *ident = removeChild_Widget(navBar, findChild_Widget(navBar, "navbar.ident")); | ||
1037 | addChild_Widget(navBar, iClob(ident)); | ||
1038 | } | ||
1034 | addChildFlags_Widget(navBar, iClob(new_Widget()), expand_WidgetFlag); | 1039 | addChildFlags_Widget(navBar, iClob(new_Widget()), expand_WidgetFlag); |
1035 | setId_Widget(addChildFlags_Widget(navBar, | 1040 | setId_Widget(addChildFlags_Widget(navBar, |
1036 | iClob(newIcon_LabelWidget( | 1041 | iClob(newIcon_LabelWidget( |