improve ui

This commit is contained in:
wgh19
2024-05-15 12:40:05 +08:00
parent 2826f9f592
commit 51bff418c7
6 changed files with 33 additions and 30 deletions

View File

@@ -111,7 +111,7 @@ class Network {
if(res.statusCode != 200) {
var data = res.data ?? "";
if(data.contains("Invalid refresh token")) {
throw "Failed to refresh token. Plaese logout and re-login";
throw "Failed to refresh token. Please log out.";
}
}
var account = Account.fromJson(json.decode(res.data!));