mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-19 23:17:13 +00:00
13 lines
328 B
Dart
13 lines
328 B
Dart
![]() |
import 'package:app_flowy/user/infrastructure/network_monitor.dart';
|
||
|
import '../startup.dart';
|
||
|
|
||
|
class InitPlatformService extends LaunchTask {
|
||
|
@override
|
||
|
LaunchTaskType get type => LaunchTaskType.dataProcessing;
|
||
|
|
||
|
@override
|
||
|
Future<void> initialize(LaunchContext context) async {
|
||
|
getIt<NetworkMonitor>().start();
|
||
|
}
|
||
|
}
|