mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-20 23:48:21 +00:00
13 lines
333 B
Dart
13 lines
333 B
Dart
import 'package:app_flowy/user/infrastructure/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();
|
|
}
|
|
}
|