mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
Update window_services.dart
This commit is contained in:
@ -66,7 +66,8 @@ Future<void> setupWindow({Size? sz, Offset? off, bool center = false}) async {
|
|||||||
center: center,
|
center: center,
|
||||||
minimumSize: kMinWindowSize,
|
minimumSize: kMinWindowSize,
|
||||||
skipTaskbar: false,
|
skipTaskbar: false,
|
||||||
titleBarStyle: TitleBarStyle.hidden,
|
title: kWindowTitle,
|
||||||
|
titleBarStyle: Platform.isMacOS ? TitleBarStyle.hidden : null,
|
||||||
);
|
);
|
||||||
if (off != null) {
|
if (off != null) {
|
||||||
await windowManager.setPosition(off);
|
await windowManager.setPosition(off);
|
||||||
|
Reference in New Issue
Block a user