Bug fixes

This commit is contained in:
Abdullah Alassaf
2024-08-05 11:06:59 +03:00
parent c31e54afc6
commit 905399f037

View File

@ -349,47 +349,47 @@ class HomeCubit extends Cubit<HomeState> {
// ), // ),
// onPressed: () {}, // onPressed: () {},
// ), // ),
// IconButton( IconButton(
// icon: const Icon( icon: const Icon(
// Icons.add, Icons.add,
// size: 32, size: 32,
// ), ),
// style: ButtonStyle( style: ButtonStyle(
// foregroundColor: WidgetStateProperty.all(ColorsManager.textPrimaryColor), foregroundColor: WidgetStateProperty.all(ColorsManager.textPrimaryColor),
// ), ),
// onPressed: () { onPressed: () {
// Navigator.pushNamed( Navigator.pushNamed(
// NavigationService.navigatorKey.currentContext!, NavigationService.navigatorKey.currentContext!,
// Routes.sceneTasksRoute, Routes.sceneTasksRoute,
// arguments: SceneSettingsRouteArguments( arguments: SceneSettingsRouteArguments(
// sceneType: '', sceneType: '',
// sceneId: '', sceneId: '',
// sceneName: '', sceneName: '',
// ), ),
// ); );
// NavigationService.navigatorKey.currentContext! NavigationService.navigatorKey.currentContext!
// .read<CreateSceneBloc>() .read<CreateSceneBloc>()
// .add(const ClearTaskListEvent()); .add(const ClearTaskListEvent());
// NavigationService.navigatorKey.currentContext! NavigationService.navigatorKey.currentContext!
// .read<CreateSceneBloc>() .read<CreateSceneBloc>()
// .add(const SceneTypeEvent(CreateSceneEnum.none)); .add(const SceneTypeEvent(CreateSceneEnum.none));
// NavigationService.navigatorKey.currentContext! NavigationService.navigatorKey.currentContext!
// .read<SmartSceneSelectBloc>() .read<SmartSceneSelectBloc>()
// .add(const SmartSceneClearEvent()); .add(const SmartSceneClearEvent());
// BlocProvider.of<EffectPeriodBloc>(NavigationService.navigatorKey.currentState!.context) BlocProvider.of<EffectPeriodBloc>(NavigationService.navigatorKey.currentState!.context)
// .add(ResetEffectivePeriod()); .add(ResetEffectivePeriod());
// }, },
// ), ),
// IconButton( IconButton(
// icon: const Icon( icon: const Icon(
// Icons.more_vert, Icons.more_vert,
// size: 28, size: 28,
// ), ),
// style: ButtonStyle( style: ButtonStyle(
// foregroundColor: WidgetStateProperty.all(ColorsManager.textPrimaryColor), foregroundColor: WidgetStateProperty.all(ColorsManager.textPrimaryColor),
// ), ),
// onPressed: () {}, onPressed: () {},
// ), ),
], ],
'Menu': [ 'Menu': [
IconButton( IconButton(