flutter_desktop: remove unnecessary control flow

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-08-03 22:13:40 +08:00
parent 7a2de5d280
commit 0488eb31f5
3 changed files with 8 additions and 12 deletions

View File

@@ -47,7 +47,7 @@ class AbModel with ChangeNotifier {
}
Future<String> getApiServer() async {
return await bind.mainGetApiServer() ?? "";
return await bind.mainGetApiServer();
}
void reset() {