mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 21:35:04 +02:00
Fix undefined color in address bar
This commit is contained in:
parent
0f07d0b493
commit
a7c77a5247
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ Item {
|
||||||
location.visible = false;
|
location.visible = false;
|
||||||
} else {
|
} else {
|
||||||
notice.text = AddressManager.isConnected ? "YOUR LOCATION:" : "NOT CONNECTED";
|
notice.text = AddressManager.isConnected ? "YOUR LOCATION:" : "NOT CONNECTED";
|
||||||
notice.color = AddressManager.isConnected ? hifiStyleConstants.colors.turquoise : hifiStyleConstants.colors.redHighlight;
|
notice.color = AddressManager.isConnected ? hifiStyleConstants.colors.blueHighlight : hifiStyleConstants.colors.redHighlight;
|
||||||
// Display hostname, which includes ip address, localhost, and other non-placenames.
|
// Display hostname, which includes ip address, localhost, and other non-placenames.
|
||||||
location.text = (AddressManager.placename || AddressManager.hostname || '') + (AddressManager.pathname ? AddressManager.pathname.match(/\/[^\/]+/)[0] : '');
|
location.text = (AddressManager.placename || AddressManager.hostname || '') + (AddressManager.pathname ? AddressManager.pathname.match(/\/[^\/]+/)[0] : '');
|
||||||
location.visible = true;
|
location.visible = true;
|
||||||
|
|
Loading…
Reference in a new issue