From d403044f76bbdbcc684913221a6ee0969ffb2cfc Mon Sep 17 00:00:00 2001
From: Aaron Cunliffe <7946141+aaroncunliffe@users.noreply.github.com>
Date: Tue, 3 Feb 2026 15:24:23 +0000
Subject: [PATCH] fix: Increase network SSID display length (#670)
## Rationale
I have 2 wifi access points with almost identical names, just one has
`_EXT` at the end of it. With the current display limit of 13 characters
before adding ellipsis, I can't tell which is which.
Before device screenshot with masked SSIDs:
## Summary
Adjusted displayed length from 13 characters to 30 in the Wifi selection
screen - I've left some space for potential proportional font changes in
the future
After image with masked SSIDs:
---
### AI Usage
While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.
Did you use AI tools to help write this code? _**< NO >**_
---
src/activities/network/WifiSelectionActivity.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/activities/network/WifiSelectionActivity.cpp b/src/activities/network/WifiSelectionActivity.cpp
index 8bf83a93..becd41a3 100644
--- a/src/activities/network/WifiSelectionActivity.cpp
+++ b/src/activities/network/WifiSelectionActivity.cpp
@@ -546,8 +546,8 @@ void WifiSelectionActivity::renderNetworkList() const {
// Draw network name (truncate if too long)
std::string displayName = network.ssid;
- if (displayName.length() > 16) {
- displayName.replace(13, displayName.length() - 13, "...");
+ if (displayName.length() > 33) {
+ displayName.replace(30, displayName.length() - 30, "...");
}
renderer.drawText(UI_10_FONT_ID, 20, networkY, displayName.c_str());