Merge pull request #308 from DeckeDeng/beta2

Beta2
This commit is contained in:
Fiona
2019-08-08 19:18:28 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -329,7 +329,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin\n";
shellScript = "/bin/sh \"/Users/xj.deng/development/flutter/packages/flutter_tools/bin/xcode_backend.sh\" thin\n";
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;

View File

@ -46,10 +46,10 @@ class _IssuesMessagePageState extends State<IssuesMessagePage> {
}
_submit() {
String mk = notusMarkdown.encode(_delta);
if (_title.trim().isEmpty) {
_show('标题不能为空');
} else {
String mk = (_delta==null)?'No description provided.':notusMarkdown.encode(_delta);
DataUtils.feedback({'title': _title, "body": mk},context).then((result) {
_show('提交成功');
Navigator.maybePop(context);