mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
removed comments from SpaceTreeView
.
This commit is contained in:
@ -191,68 +191,6 @@ class _SpaceTreeViewState extends State<SpaceTreeView> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (state.paginationIsLoading) const CircularProgressIndicator(),
|
if (state.paginationIsLoading) const CircularProgressIndicator(),
|
||||||
// Expanded(
|
|
||||||
// child: Padding(
|
|
||||||
// padding: const EdgeInsets.all(8.0),
|
|
||||||
// child: list.isEmpty
|
|
||||||
// ? Center(
|
|
||||||
// child: Text(
|
|
||||||
// 'No results found',
|
|
||||||
// style: Theme.of(context).textTheme.bodySmall!.copyWith(
|
|
||||||
// color: ColorsManager.lightGrayColor, // Gray when not selected
|
|
||||||
// fontWeight: FontWeight.w400,
|
|
||||||
// ),
|
|
||||||
// ),
|
|
||||||
// )
|
|
||||||
// : ListView(
|
|
||||||
// shrinkWrap: true,
|
|
||||||
// children: list
|
|
||||||
// .map(
|
|
||||||
// (community) => CustomExpansionTileSpaceTree(
|
|
||||||
// title: community.name,
|
|
||||||
// isSelected:
|
|
||||||
// state.selectedCommunities.contains(community.uuid),
|
|
||||||
// isSoldCheck:
|
|
||||||
// state.selectedCommunities.contains(community.uuid),
|
|
||||||
// onExpansionChanged: () {
|
|
||||||
// context
|
|
||||||
// .read<SpaceTreeBloc>()
|
|
||||||
// .add(OnCommunityExpanded(community.uuid));
|
|
||||||
// },
|
|
||||||
// isExpanded:
|
|
||||||
// state.expandedCommunities.contains(community.uuid),
|
|
||||||
// onItemSelected: () {
|
|
||||||
// context.read<SpaceTreeBloc>().add(
|
|
||||||
// OnCommunitySelected(community.uuid, community.spaces));
|
|
||||||
|
|
||||||
// onSelect();
|
|
||||||
// },
|
|
||||||
// children: community.spaces.map((space) {
|
|
||||||
// return CustomExpansionTileSpaceTree(
|
|
||||||
// title: space.name,
|
|
||||||
// isExpanded: state.expandedSpaces.contains(space.uuid),
|
|
||||||
// onItemSelected: () {
|
|
||||||
// context.read<SpaceTreeBloc>().add(OnSpaceSelected(
|
|
||||||
// community.uuid, space.uuid ?? '', space.children));
|
|
||||||
// onSelect();
|
|
||||||
// },
|
|
||||||
// onExpansionChanged: () {
|
|
||||||
// context.read<SpaceTreeBloc>().add(
|
|
||||||
// OnSpaceExpanded(community.uuid, space.uuid ?? ''));
|
|
||||||
// },
|
|
||||||
// isSelected: state.selectedSpaces.contains(space.uuid) ||
|
|
||||||
// state.soldCheck.contains(space.uuid),
|
|
||||||
// isSoldCheck: state.soldCheck.contains(space.uuid),
|
|
||||||
// children: _buildNestedSpaces(
|
|
||||||
// context, state, space, community.uuid),
|
|
||||||
// );
|
|
||||||
// }).toList(),
|
|
||||||
// ),
|
|
||||||
// )
|
|
||||||
// .toList(),
|
|
||||||
// ),
|
|
||||||
// ),
|
|
||||||
// ),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user