mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-13 11:53:41 +00:00
feat: add MCP support (#1471)
This commit is contained in:
83 files changed
+3119
-363
No files matched your search
@@ -10,7 +10,14 @@ abstract final class AppWindowChrome {
|
||||
static bool get usesCustomChrome =>
|
||||
!kIsWeb && (defaultTargetPlatform == TargetPlatform.windows || defaultTargetPlatform == TargetPlatform.linux);
|
||||
|
||||
static bool get reservesHeaderInset => isDesktopWindow;
|
||||
static bool get reservesHeaderInset => reservesHeaderInsetFor(web: kIsWeb, platform: defaultTargetPlatform);
|
||||
|
||||
static bool reservesHeaderInsetFor({required bool web, required TargetPlatform platform}) {
|
||||
return web ||
|
||||
platform == TargetPlatform.windows ||
|
||||
platform == TargetPlatform.macOS ||
|
||||
platform == TargetPlatform.linux;
|
||||
}
|
||||
|
||||
static bool get clipsRoundedCorners => !kIsWeb && defaultTargetPlatform == TargetPlatform.windows;
|
||||
}
|
||||
Reference in new issue
Block a user