Skip to content

Commit b0f6f50

Browse files
committed
fix: invalid message of tooltip
1 parent 5c4df02 commit b0f6f50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/dashboard.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ class _DashboardState extends State<Dashboard> with WindowListener {
358358
mainAxisAlignment: MainAxisAlignment.end,
359359
children: [
360360
Tooltip(
361-
message: trafficData?.uploadMsg,
361+
message: trafficData?.uploadMsg ?? "",
362362
child: Wrap(
363363
crossAxisAlignment: WrapCrossAlignment.center,
364364
children: [
@@ -371,7 +371,7 @@ class _DashboardState extends State<Dashboard> with WindowListener {
371371
),
372372
SizedBox(width: 8),
373373
Tooltip(
374-
message: trafficData?.downloadMsg,
374+
message: trafficData?.downloadMsg ?? "",
375375
child: Wrap(
376376
crossAxisAlignment: WrapCrossAlignment.center,
377377
children: [

0 commit comments

Comments
 (0)