mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: flutter analyze (#4680)
This commit is contained in:
parent
a3a5709b70
commit
42cb032bca
@ -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:appflowy_editor/appflowy_editor.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:appflowy/workspace/presentation/settings/widgets/emoji_picker/emoji_picker.dart';
|
|
||||||
|
|
||||||
final CommandShortcutEvent emojiShortcutEvent = CommandShortcutEvent(
|
final CommandShortcutEvent emojiShortcutEvent = CommandShortcutEvent(
|
||||||
key: 'Ctrl + Alt + E to show emoji picker',
|
key: 'Ctrl + Alt + E to show emoji picker',
|
||||||
|
@ -26,6 +26,8 @@ String languageFromLocale(Locale locale) {
|
|||||||
switch (locale.countryCode) {
|
switch (locale.countryCode) {
|
||||||
case "KU":
|
case "KU":
|
||||||
return "کوردی";
|
return "کوردی";
|
||||||
|
default:
|
||||||
|
return locale.languageCode;
|
||||||
}
|
}
|
||||||
case "de":
|
case "de":
|
||||||
return "Deutsch";
|
return "Deutsch";
|
||||||
|
Loading…
Reference in New Issue
Block a user