forked from eatvio/eatvio_app
fix(recipe): Fix
This commit is contained in:
@@ -152,7 +152,7 @@ class RecipeCreateCubit extends Cubit<RecipeCreateState> {
|
||||
try {
|
||||
if (state is RecipeCreateStateLoaded) {
|
||||
var currentState = state as RecipeCreateStateLoaded;
|
||||
List<XFile?> newStepImages = currentState.stepImages;
|
||||
List<XFile?> newStepImages = List<XFile?>.from(currentState.stepImages);
|
||||
newStepImages.removeLast();
|
||||
List<TextEditingController> newStepControllers =
|
||||
List<TextEditingController>.from(currentState.stepControllers);
|
||||
|
||||
Reference in New Issue
Block a user