good morning!!!!

Skip to content
Snippets Groups Projects
Commit c29b01ce authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Reset URL bar

parent befb4bc1
Branches
Tags
No related merge requests found
...@@ -352,7 +352,15 @@ Rectangle { ...@@ -352,7 +352,15 @@ Rectangle {
}); });
webView.runJavaScript("try{document.querySelector(\"meta[name='ethereum-dapp-url-bar-style']\").getAttribute(\"content\")}catch(e){}", function(topBarStyle){ webView.runJavaScript("try{document.querySelector(\"meta[name='ethereum-dapp-url-bar-style']\").getAttribute(\"content\")}catch(e){}", function(topBarStyle){
if (!topBarStyle) return; if (!topBarStyle) {
showFullUrlBar(true);
navBarBackground.visible = true;
back.visible = true;
appInfoPane.anchors.leftMargin = 0;
appInfoPaneShadow.anchors.leftMargin = 0;
webview.anchors.topMargin = 0;
return;
}
if (topBarStyle=="transparent") { if (topBarStyle=="transparent") {
// Adjust for a transparent sidebar Dapp // Adjust for a transparent sidebar Dapp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment