diff --git a/modules/legacy/modules/control_panel/lib/src/shared/widgets/device_map.dart b/modules/legacy/modules/control_panel/lib/src/shared/widgets/device_map.dart index 05fd8d0a..79f28bb1 100644 --- a/modules/legacy/modules/control_panel/lib/src/shared/widgets/device_map.dart +++ b/modules/legacy/modules/control_panel/lib/src/shared/widgets/device_map.dart @@ -124,9 +124,6 @@ class LocationBanner extends ConsumerWidget { final deviceName = localDevice != null ? (name != null && name.isNotEmpty ? name : localDevice.identificator) : null; - final initial = deviceName != null && deviceName.isNotEmpty - ? deviceName[0].toUpperCase() - : null; final addressText = [ position.address?.street, @@ -157,25 +154,11 @@ class LocationBanner extends ConsumerWidget { ), child: Row( children: [ - if (initial != null) - Container( - width: isCompact ? 30 : 42, - height: isCompact ? 30 : 42, - decoration: BoxDecoration( - color: primaryColor.withValues(alpha: 0.12), - shape: BoxShape.circle, - ), - child: Center( - child: Text( - initial, - style: TextStyle( - fontSize: isCompact ? 13 : 18, - fontWeight: FontWeight.w700, - color: primaryColor, - ), - ), - ), - ), + Image.asset( + 'assets/shared/images/iso_sf.png', + width: isCompact ? 30 : 42, + height: isCompact ? 30 : 42, + ), SizedBox(width: isCompact ? 6 : 10), Expanded( child: Column(