Fix stale map labels, avatar initials and offline bubble widths

- Map node labels follow light/dark theme changes.
- Avatar initials use only letters and digits; hop avatars fall back to the
  hash prefix.
- Incoming channel bubbles are the same width connected and offline.
- Day separators wrap instead of overflowing with large text.
This commit is contained in:
zjs81 committed 2026-11-20 16:04:50 -07:00
1 parent 34ea0cb7ca
commit 92dadb0d3a
12 files changed
+642 -48

No files matched your search

+6 -1
View File
@@ -32,7 +32,12 @@ class PlatformInfo {
static bool get isMobile => isAndroid || isIOS;
/// Whether the app is running on a desktop platform (macOS, Windows, or Linux).
static bool get isDesktop => isMacOS || isWindows || isLinux;
static bool get isDesktop =>
debugIsDesktopOverride ?? (isMacOS || isWindows || isLinux);
/// Lets widget tests exercise the mobile layout on a desktop test host.
@visibleForTesting
static bool? debugIsDesktopOverride;
/// Whether the current platform supports a native USB serial backend.
static bool get supportsNativeUsbSerial =>