mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 22:57:12 -04:00
fix: smart edit bugs (#1911)
This commit is contained in:
parent
a1a5675875
commit
fd41459a30
3 changed files with 53 additions and 38 deletions
|
@ -177,7 +177,9 @@ class _AppFlowyEditorPageState extends State<_AppFlowyEditorPage> {
|
|||
]
|
||||
],
|
||||
toolbarItems: [
|
||||
smartEditItem,
|
||||
if (openAIKey != null && openAIKey!.isNotEmpty) ...[
|
||||
smartEditItem,
|
||||
]
|
||||
],
|
||||
themeData: theme.copyWith(extensions: [
|
||||
...theme.extensions.values,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue