Proper formatting
This commit is contained in:
1 parent
68bb031bb6
commit
87bcb6a6a3
1 file changed
+1
-1
@@ -103,7 +103,7 @@ class QuickSwitchBar extends StatelessWidget {
|
|||||||
|
|
||||||
Widget _buildIconWithBadge(Icon icon, int count) {
|
Widget _buildIconWithBadge(Icon icon, int count) {
|
||||||
if (count <= 0) return icon;
|
if (count <= 0) return icon;
|
||||||
|
|
||||||
return Badge(
|
return Badge(
|
||||||
label: Text(
|
label: Text(
|
||||||
count > 99 ? '99+' : count.toString(),
|
count > 99 ? '99+' : count.toString(),
|
||||||
|
|||||||
Reference in new issue
Block a user