Skip to content

Commit

Permalink
document isMainWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian-Samoticha committed Sep 5, 2023
1 parent f75e3fb commit d0f755c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/window_manipulator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ class WindowManipulator {
'WindowManipulator.initialize call.');
}

/// Returns whether the window is the main window.
static Future<bool> isMainWindow() async {
await _completer.future;
return await _windowManipulatorMethodChannel.invokeMethod('isMainWindow');
Expand Down

0 comments on commit d0f755c

Please sign in to comment.