Fix device popup menu from breaking.

This commit is contained in:
Dain Nilsson 2022-11-08 14:58:33 +01:00
parent b97d17eaf5
commit 2550afee40
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -134,7 +134,7 @@ class _SlideInWidgetState extends ConsumerState<_SlideInWidget>
horizontalTitleGap: 13, horizontalTitleGap: 13,
leading: _CircledDeviceAvatar(widget.radius), leading: _CircledDeviceAvatar(widget.radius),
title: Text(messages.removeAt(0)), title: Text(messages.removeAt(0)),
subtitle: Text(messages.first), subtitle: Text(messages.isNotEmpty ? messages.first : ''),
), ),
); );
} }