This commit is contained in:
Adam Velebil 2023-03-02 17:18:51 +01:00
parent 64f431e67a
commit 70b54f8b55
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -66,7 +66,7 @@ void _saveWindowBounds(WindowManagerHelper helper) async {
await helper.sharedPreferences.setDouble(_keyHeight, bounds.height);
await helper.sharedPreferences.setDouble(_keyLeft, bounds.left);
await helper.sharedPreferences.setDouble(_keyTop, bounds.top);
_log.info('Saving bounds: $bounds');
_log.debug('Saving window bounds: $bounds');
}
class _ScreenRetrieverListener extends ScreenListener {
@ -121,7 +121,7 @@ Future<Widget> initialize(List<String> argv) async {
prefs.getDouble(_keyHeight) ?? WindowDefaults.bounds.height,
);
_log.info('Saved bounds: $bounds');
_log.debug('Using saved window bounds (or defaults): $bounds');
unawaited(windowManager
.waitUntilReadyToShow(WindowOptions(