new & opt

new: Flutter 3.7.3
opt: for `ping` page
This commit is contained in:
lollipopkit
2023-02-13 17:51:36 +08:00
parent ba44649ce1
commit 9c3b822311
8 changed files with 21 additions and 19 deletions

View File

@@ -176,7 +176,7 @@ class ServerProvider extends BusyProvider {
if (raw.isEmpty || segments.length == 1) {
s.cs = ServerState.failed;
if (s.status.failedInfo == null || s.status.failedInfo!.isEmpty) {
s.status.failedInfo = 'No data received';
s.status.failedInfo = 'Seperate segments failed, raw:\n$raw';
}
notifyListeners();
return;