Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunicorn committed Aug 13, 2024
1 parent 3daa5ae commit ce5697c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions app/lib/config/desktop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:io';
import 'package:acter/common/utils/routes.dart';
import 'package:acter/router/router.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart' hide MenuItem;
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:go_router/go_router.dart';
import 'package:tray_manager/tray_manager.dart';
Expand Down Expand Up @@ -45,11 +45,12 @@ Future<void> initDesktop() async {
),
MenuItem.separator(),
MenuItem(
key: 'exit_app',
label: 'Exit App',
onClick: (item) {
windowManager.destroy();
},),
key: 'exit_app',
label: 'Exit App',
onClick: (item) {
windowManager.destroy();
},
),
],
);
await trayManager.setContextMenu(menu);
Expand Down

0 comments on commit ce5697c

Please sign in to comment.