Skip to content

Commit 89e0213

Browse files
committed
Flutter acrylic conditional
1 parent 5fe61a4 commit 89e0213

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.fvm/fvm_config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"flutterSdkVersion": "beta",
2+
"flutterSdkVersion": "2.5.3",
33
"flavors": {}
44
}

lib/main.dart

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ import 'src/theme.dart';
2525

2626
void main() async {
2727
WidgetsFlutterBinding.ensureInitialized();
28-
await Window.initialize();
28+
// Transparency compatibility for windows & linux
29+
if (!Platform.isMacOS) {
30+
await Window.initialize();
31+
}
2932

3033
Hive.registerAdapter(SidekickSettingsAdapter());
3134
Hive.registerAdapter(ProjectPathAdapter());

0 commit comments

Comments
 (0)