mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt. for performance
This commit is contained in:
@@ -82,10 +82,10 @@ class _PingPageState extends State<PingPage>
|
||||
);
|
||||
}
|
||||
|
||||
void _doPing() {
|
||||
Future<void> _doPing() async {
|
||||
context.pop();
|
||||
try {
|
||||
doPing();
|
||||
await doPing();
|
||||
} catch (e) {
|
||||
showRoundDialog(
|
||||
context: context,
|
||||
|
||||
Reference in New Issue
Block a user