mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
custom show window title bar
Closes #1362 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -105,10 +105,12 @@ void main() async {
|
||||
} else if (Utils.isDesktop) {
|
||||
await windowManager.ensureInitialized();
|
||||
|
||||
WindowOptions windowOptions = const WindowOptions(
|
||||
minimumSize: Size(400, 720),
|
||||
WindowOptions windowOptions = WindowOptions(
|
||||
minimumSize: const Size(400, 720),
|
||||
skipTaskbar: false,
|
||||
titleBarStyle: TitleBarStyle.normal,
|
||||
titleBarStyle: Pref.showWindowTitleBar
|
||||
? TitleBarStyle.normal
|
||||
: TitleBarStyle.hidden,
|
||||
title: Constants.appName,
|
||||
);
|
||||
windowManager.waitUntilReadyToShow(windowOptions, () async {
|
||||
|
||||
Reference in New Issue
Block a user