diff --git a/lib/widgets/editor/tree_widgets/item_count.dart b/lib/widgets/editor/tree_widgets/item_count.dart index 72608a13..11156508 100644 --- a/lib/widgets/editor/tree_widgets/item_count.dart +++ b/lib/widgets/editor/tree_widgets/item_count.dart @@ -12,22 +12,11 @@ class ItemCount extends StatelessWidget { Widget build(BuildContext context) { ColorScheme colorScheme = Theme.of(context).colorScheme; - return Container( - width: 28, - height: 28, - decoration: BoxDecoration( - borderRadius: BorderRadius.circular(14), - border: Border.all(width: 2, color: colorScheme.surfaceVariant), - ), - child: FittedBox( - fit: BoxFit.scaleDown, - child: Text( - '$count', - style: TextStyle( - fontSize: 24, - color: colorScheme.surfaceVariant, - ), - ), + return Text( + '$count', + style: TextStyle( + fontSize: 18, + color: colorScheme.primary, ), ); }