mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-08 09:33:54 +00:00

* chore: update connectivity_plus * chore: update appflowy_editor * chore: enable editor log when enableDocumentInternalLog is true * chore: update podfile.lock * Revert "chore: update podfile.lock" This reverts commit 41dbcad8c19756c6b820fb3ab039d08c3c7dc73a. * fix: compile * chore: revert hotkey changes * chore: revert network_monitor change
21 lines
532 B
Dart
21 lines
532 B
Dart
import 'package:flutter/foundation.dart';
|
|
import 'package:flutter/services.dart';
|
|
import 'package:universal_platform/universal_platform.dart';
|
|
|
|
import '../startup.dart';
|
|
|
|
class DebugTask extends LaunchTask {
|
|
const DebugTask();
|
|
|
|
@override
|
|
Future<void> initialize(LaunchContext context) async {
|
|
// the hotkey manager is not supported on mobile
|
|
if (UniversalPlatform.isMobile && kDebugMode) {
|
|
await SystemChannels.textInput.invokeMethod('TextInput.hide');
|
|
}
|
|
}
|
|
|
|
@override
|
|
Future<void> dispose() async {}
|
|
}
|