mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 10:03:18 +00:00 
			
		
		
		
	
		
			
	
	
		
			13 lines
		
	
	
		
			258 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			258 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
|   | import 'package:hotkey_manager/hotkey_manager.dart'; | ||
|  | 
 | ||
|  | import '../startup.dart'; | ||
|  | 
 | ||
|  | class HotKeyTask extends LaunchTask { | ||
|  |   const HotKeyTask(); | ||
|  | 
 | ||
|  |   @override | ||
|  |   Future<void> initialize(LaunchContext context) async { | ||
|  |     await hotKeyManager.unregisterAll(); | ||
|  |   } | ||
|  | } |