Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
Change-Id: I8fa808b6f1e093ebc202247873470a1a991bfe8f
  • Loading branch information
calcitem committed Jan 21, 2024
1 parent e609758 commit 74f07c7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ui/flutter_app/lib/shared/services/system_ui_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ void _initializeScreenOrientation(BuildContext context) {
const MethodChannel uiMethodChannel = MethodChannel('com.calcitem.sanmill/ui');

Future<void> setWindowTitle(String title) async {
if (!Platform.isMacOS) { // TODO: Support other desktop platforms.
if (!Platform.isMacOS) {
// TODO: Support other desktop platforms.
return;
}

await uiMethodChannel.invokeMethod('setWindowTitle', <String, String>{'title': title});
await uiMethodChannel
.invokeMethod('setWindowTitle', <String, String>{'title': title});
}

0 comments on commit 74f07c7

Please sign in to comment.