mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-11-04 03:54:44 +00:00 
			
		
		
		
	move router.dart to user/presentation move network_monitor.dart to core move deps_resolver.dart to user/presentation
		
			
				
	
	
		
			13 lines
		
	
	
		
			318 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			318 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
import 'package:app_flowy/core/network_monitor.dart';
 | 
						|
import '../startup.dart';
 | 
						|
 | 
						|
class InitPlatformServiceTask extends LaunchTask {
 | 
						|
  @override
 | 
						|
  LaunchTaskType get type => LaunchTaskType.dataProcessing;
 | 
						|
 | 
						|
  @override
 | 
						|
  Future<void> initialize(LaunchContext context) async {
 | 
						|
    getIt<NetworkListener>().start();
 | 
						|
  }
 | 
						|
}
 |