mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 23:44:53 +00:00
push fixes
This commit is contained in:
@ -48,14 +48,10 @@ class _CreateSceneSaveButtonState extends State<CreateSceneSaveButton>
|
||||
if (state is CreateSceneWithTasks) {
|
||||
if (state.success == true) {
|
||||
navigateToRoute(context, Routes.homeRoute);
|
||||
context.showCustomSnackbar(
|
||||
message: 'Scene created successfully',
|
||||
icon: const Icon(
|
||||
Icons.check,
|
||||
color: Colors.green,
|
||||
),
|
||||
);
|
||||
sceneNameController.text = '';
|
||||
CustomSnackBar.greenSnackBar('Scene created successfully');
|
||||
|
||||
return;
|
||||
}
|
||||
} else if (state is CreateSceneError) {
|
||||
CustomSnackBar.displaySnackBar(state.message);
|
||||
|
||||
Reference in New Issue
Block a user