Add update events for device and subspace names

implement copyWith methods in models
This commit is contained in:
mohammad
2025-06-29 13:03:33 +03:00
parent df34ded153
commit 01f55c14de
7 changed files with 216 additions and 3 deletions

View File

@ -87,6 +87,11 @@ class DeviceManagementContent extends StatelessWidget {
),
);
});
context.read<DeviceManagementBloc>().add(UpdateSubSpaceName(
subspaceId: selectedSubSpace.id!,
deviceId: device.uuid!,
newSubSpaceName: selectedSubSpace.name ?? ''));
}
},
child: infoRow(