mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
cceee80799
* fix: anon user error * ci: fix tests
17 lines
389 B
Dart
17 lines
389 B
Dart
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
import '../startup.dart';
|
|
|
|
class InitLocalizationTask extends LaunchTask {
|
|
const InitLocalizationTask();
|
|
|
|
@override
|
|
Future<void> initialize(LaunchContext context) async {
|
|
await EasyLocalization.ensureInitialized();
|
|
EasyLocalization.logger.enableBuildModes = [];
|
|
}
|
|
|
|
@override
|
|
Future<void> dispose() async {}
|
|
}
|