mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-19 23:17:13 +00:00
15 lines
353 B
Dart
15 lines
353 B
Dart
import 'package:appflowy/core/network_monitor.dart';
|
|
import '../startup.dart';
|
|
|
|
class InitPlatformServiceTask extends LaunchTask {
|
|
const InitPlatformServiceTask();
|
|
|
|
@override
|
|
LaunchTaskType get type => LaunchTaskType.dataProcessing;
|
|
|
|
@override
|
|
Future<void> initialize(LaunchContext context) async {
|
|
getIt<NetworkListener>().start();
|
|
}
|
|
}
|