ui/networking: bolding the connected network (#29385)

pull/29391/head
Dean Lee 2 years ago committed by GitHub
parent 9071c8a4fc
commit 29f2389cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/ui/qt/offroad/networking.cc

@ -347,7 +347,7 @@ void WifiItem::setItem(const Network &n, const QPixmap &status_icon, bool show_f
ssidLabel->setText(n.ssid);
ssidLabel->setEnabled(n.security_type != SecurityType::UNSUPPORTED);
ssidLabel->setFont(InterFont(55, network.connected == ConnectedType::DISCONNECTED ? QFont::Normal : QFont::Medium));
ssidLabel->setFont(InterFont(55, network.connected == ConnectedType::DISCONNECTED ? QFont::Normal : QFont::Bold));
connecting->setVisible(n.connected == ConnectedType::CONNECTING);
forgetBtn->setVisible(show_forget_btn);

Loading…
Cancel
Save