Compare commits

..

No commits in common. "8df957e8a56edb9b278bc437734d7d77f1d7e542" and "4dfa1d6384c496a4b790b21e7e5c5147513a3249" 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());