mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
Removed unnecessary SizedBox from TagChipDisplay
.
This commit is contained in:
@ -50,9 +50,8 @@ class TagChipDisplay extends StatelessWidget {
|
|||||||
spaceModel?.subspaceModels?.any((e) => e.tags?.isNotEmpty ?? false) ?? false;
|
spaceModel?.subspaceModels?.any((e) => e.tags?.isNotEmpty ?? false) ?? false;
|
||||||
|
|
||||||
if (hasTags || hasSubspaceTags) {
|
if (hasTags || hasSubspaceTags) {
|
||||||
return SizedBox(
|
return Container(
|
||||||
width: screenWidth * 0.25,
|
width: screenWidth * 0.25,
|
||||||
child: Container(
|
|
||||||
padding: const EdgeInsets.all(8),
|
padding: const EdgeInsets.all(8),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: ColorsManager.textFieldGreyColor,
|
color: ColorsManager.textFieldGreyColor,
|
||||||
@ -70,7 +69,6 @@ class TagChipDisplay extends StatelessWidget {
|
|||||||
_buildEditChip(context),
|
_buildEditChip(context),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return _buildAddDevicesButton(context);
|
return _buildAddDevicesButton(context);
|
||||||
|
Reference in New Issue
Block a user