From b1ceb21bd1eb750e2574e128e2314331742570f9 Mon Sep 17 00:00:00 2001 From: phyothandar Date: Mon, 13 Sep 2021 14:25:07 +0630 Subject: [PATCH] fix --- lib/pages/processing/processing_edit_editor.dart | 4 ++-- linux/flutter/generated_plugin_registrant.cc | 2 -- linux/flutter/generated_plugin_registrant.h | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/pages/processing/processing_edit_editor.dart b/lib/pages/processing/processing_edit_editor.dart index 4751134..64d9155 100644 --- a/lib/pages/processing/processing_edit_editor.dart +++ b/lib/pages/processing/processing_edit_editor.dart @@ -42,8 +42,8 @@ class _ProcessingEditEditorState extends State { super.initState(); _package = widget.package; selectedMarket = _package!.market ?? ""; - _descCtl.text = _package!.desc!; - _remarkCtl.text = _package!.remark!; + _descCtl.text = _package!.desc ?? ""; + _remarkCtl.text = _package!.remark ?? ""; multiImgController.setImageUrls = _package!.photoUrls; _user = User( fcsID: _package!.fcsID ?? "", diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc index f6f23bf..026851f 100644 --- a/linux/flutter/generated_plugin_registrant.cc +++ b/linux/flutter/generated_plugin_registrant.cc @@ -2,8 +2,6 @@ // Generated file. Do not edit. // -// clang-format off - #include "generated_plugin_registrant.h" #include diff --git a/linux/flutter/generated_plugin_registrant.h b/linux/flutter/generated_plugin_registrant.h index e0f0a47..9bf7478 100644 --- a/linux/flutter/generated_plugin_registrant.h +++ b/linux/flutter/generated_plugin_registrant.h @@ -2,8 +2,6 @@ // Generated file. Do not edit. // -// clang-format off - #ifndef GENERATED_PLUGIN_REGISTRANT_ #define GENERATED_PLUGIN_REGISTRANT_