Refactor UI structure in curtain and light widgets

Simplify UI structure in curtain_view.dart and light_interface.dart by
rearranging the widget tree for better readability and maintainability.
This commit is contained in:
Mohammad Salameh
2024-04-07 12:50:12 +03:00
parent af7b497cdb
commit 6dfce18703
4 changed files with 41 additions and 42 deletions

View File

@ -34,7 +34,7 @@ class WizartSwitches extends StatelessWidget {
itemBuilder: (_, index) {
return InkWell(
onTap: () {
DevicesCubit.getInstance().selectCategory(index);
// DevicesCubit.getInstance().selectCategory(index);
//Navigate to the chosen category view without animation
Navigator.push(context,