File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -580,6 +580,9 @@ ApplicationWindow {
580
580
font .family : sourceSansPro .name
581
581
font .weight : Font .DemiBold
582
582
elide: Text .ElideRight
583
+ x: 250
584
+ color: " #665F5F"
585
+ font .pixelSize : 14
583
586
anchors {
584
587
left: icon .right
585
588
right: parent .right
@@ -588,12 +591,12 @@ ApplicationWindow {
588
591
rightMargin: 8
589
592
verticalCenterOffset: (secondaryTitle == " " ) ? 0 : - 10 ;
590
593
}
591
- x: 250
592
- color: " #665F5F"
593
- font .pixelSize : 14
594
- }
595
594
596
595
596
+
597
+
598
+ }
599
+
597
600
Text {
598
601
id: secondary
599
602
font .family : sourceSansPro .name
Original file line number Diff line number Diff line change @@ -387,10 +387,9 @@ Rectangle {
387
387
menuItem .badgeIcon = " \ue09a "
388
388
menuItem .badgeContent = " icon"
389
389
390
+ } else {
391
+ menuItem .badgeContent = " "
390
392
}
391
-
392
-
393
- console .log (menuItem .badgeContent );
394
393
} else {
395
394
menuItem .badgeContent = " "
396
395
}
@@ -407,9 +406,7 @@ Rectangle {
407
406
webView .runJavaScript (" try{document.querySelector(\" link[rel='icon']\" ).getAttribute(\" href\" )}catch(e){}" , function (sideIcon ){
408
407
if (sideIcon){
409
408
menuItem .icon = webview .url + sideIcon;
410
- console .log (" icon: " + webview .url + sideIcon );
411
409
};
412
- console .log (" no icon!" );
413
410
});
414
411
415
412
webView .runJavaScript (" try{document.querySelector(\" meta[name='ethereum-dapp-url-bar-style']\" ).getAttribute(\" content\" )}catch(e){}" , function (topBarStyle ){
You can’t perform that action at this time.
0 commit comments