💄 Optimize window on windows

This commit is contained in:
LittleSheep 2024-06-29 23:49:18 +08:00
parent 31513b0e84
commit 8c7de68e7a

View File

@ -43,10 +43,6 @@ void main() async {
if (PlatformInfo.isDesktop) { if (PlatformInfo.isDesktop) {
await Window.initialize(); await Window.initialize();
await Window.setEffect(
effect: WindowEffect.transparent,
dark: true,
);
if (PlatformInfo.isMacOS) { if (PlatformInfo.isMacOS) {
await Window.hideTitle(); await Window.hideTitle();