mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 20:12:35 +08:00
fix: badge判空错误
This commit is contained in:
@@ -68,7 +68,7 @@ class PBadge extends StatelessWidget {
|
||||
border: Border.all(color: borderColor),
|
||||
),
|
||||
child: Text(
|
||||
text!,
|
||||
text ?? "",
|
||||
style: TextStyle(fontSize: fs ?? fontSize, color: color),
|
||||
semanticsLabel: semanticsLabel,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user