mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +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