We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b765c commit a3c687cCopy full SHA for a3c687c
lib/main.dart
@@ -292,6 +292,10 @@ class _MyAppState extends State<MyApp> {
292
await launchAtStartup.enable();
293
sharedPreferencesManager.putBool(SharedPreferencesManager.keyIsLaunchAtStartup, true);
294
}
295
+
296
+ final isAlwaysOnTop =
297
+ sharedPreferencesManager.getBool(SharedPreferencesManager.keyIsAlwaysOnTop, defaultValue: true) ?? true;
298
+ windowManager.setAlwaysOnTop(isAlwaysOnTop);
299
});
300
super.initState();
301
0 commit comments