fix & opt.

fix: servers will only refresh once if `spi.autoConnect` is false
opt.: `UrlText` algo
This commit is contained in:
lollipopkit
2023-09-19 13:31:06 +08:00
parent f47aacaf6f
commit 96d5b750ba
3 changed files with 31 additions and 55 deletions

View File

@@ -79,10 +79,6 @@ bool get isLinux => OS.type == OS.linux;
bool get isMacOS => OS.type == OS.macos;
bool get isWindows => OS.type == OS.windows;
bool get isWeb => OS.type == OS.web;
bool get isMobile =>
OS.type == OS.ios ||
OS.type == OS.android;
bool get isMobile => OS.type == OS.ios || OS.type == OS.android;
bool get isDesktop =>
OS.type == OS.linux ||
OS.type == OS.macos ||
OS.type == OS.windows;
OS.type == OS.linux || OS.type == OS.macos || OS.type == OS.windows;