fix: flutter analyze (#4680)

This commit is contained in:
Lucas.Xu 2024-02-19 20:48:06 +07:00 committed by GitHub
parent a3a5709b70
commit 42cb032bca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import 'package:appflowy/workspace/presentation/settings/widgets/emoji_picker/emoji_picker.dart';
import 'package:appflowy_editor/appflowy_editor.dart';
import 'package:flutter/material.dart';
import 'package:appflowy/workspace/presentation/settings/widgets/emoji_picker/emoji_picker.dart';
final CommandShortcutEvent emojiShortcutEvent = CommandShortcutEvent(
key: 'Ctrl + Alt + E to show emoji picker',

View File

@ -26,6 +26,8 @@ String languageFromLocale(Locale locale) {
switch (locale.countryCode) {
case "KU":
return "کوردی";
default:
return locale.languageCode;
}
case "de":
return "Deutsch";