Compare commits

..

No commits in common. "10cd348f178386384e777eb9ad101ebbc9aba4b9" and "2b6927f0834b5405735cdb567ecc5efc3744d30f" have entirely different histories.

View File

@ -546,8 +546,8 @@ void WifiSelectionActivity::renderNetworkList() const {
// Draw network name (truncate if too long)
std::string displayName = network.ssid;
if (displayName.length() > 33) {
displayName.replace(30, displayName.length() - 30, "...");
if (displayName.length() > 16) {
displayName.replace(13, displayName.length() - 13, "...");
}
renderer.drawText(UI_10_FONT_ID, 20, networkY, displayName.c_str());