new: add unavailble mark, fix: windows release bug

This commit is contained in:
Hiddify
2024-02-10 11:17:58 +01:00
parent 7576a3ee5d
commit 39a204e718
3 changed files with 5 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ class ProxyTile extends HookConsumerWidget with PresLogger {
),
trailing: proxy.urlTestDelay != 0
? Text(
proxy.urlTestDelay.toString(),
proxy.urlTestDelay > 65000 ? "x" : proxy.urlTestDelay.toString(),
style: TextStyle(color: delayColor(context, proxy.urlTestDelay)),
)
: null,