mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
fix & opt.
fix: servers will only refresh once if `spi.autoConnect` is false opt.: `UrlText` algo
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user