mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07:00
fix: Library screen causing server to go down because of api calls (#602)
This commit is contained in:
parent
a4ec2637fc
commit
ed3d51bfed
3 changed files with 90 additions and 78 deletions
|
|
@ -240,6 +240,7 @@ class _MainState extends ConsumerState<Main> with WindowListener, WidgetsBinding
|
|||
|
||||
windowManager.waitUntilReadyToShow(windowOptions, () async {
|
||||
await windowManager.show();
|
||||
|
||||
await windowManager.focus();
|
||||
final startupArguments = ref.read(argumentsStateProvider);
|
||||
if (startupArguments.htpcMode && !(await windowManager.isFullScreen())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue