mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: use page icon instead of document icon (#3952)
This commit is contained in:
@ -30,7 +30,7 @@ class DocumentPluginBuilder extends PluginBuilder {
|
||||
String get menuName => LocaleKeys.document_menuName.tr();
|
||||
|
||||
@override
|
||||
FlowySvgData get icon => FlowySvgs.documents_s;
|
||||
FlowySvgData get icon => FlowySvgs.document_s;
|
||||
|
||||
@override
|
||||
PluginType get pluginType => PluginType.editor;
|
||||
|
@ -12,7 +12,7 @@ import 'package:flutter/material.dart';
|
||||
SelectionMenuItem referencedDocumentMenuItem = SelectionMenuItem(
|
||||
name: LocaleKeys.document_plugins_referencedDocument.tr(),
|
||||
icon: (editorState, onSelected, style) => SelectableSvgWidget(
|
||||
data: FlowySvgs.documents_s,
|
||||
data: FlowySvgs.document_s,
|
||||
isSelected: onSelected,
|
||||
style: style,
|
||||
),
|
||||
|
@ -243,7 +243,7 @@ class _CoverImagePreviewWidgetState extends State<CoverImagePreviewWidget> {
|
||||
},
|
||||
useIntrinsicWidth: true,
|
||||
leftIcon: const FlowySvg(
|
||||
FlowySvgs.page_s,
|
||||
FlowySvgs.document_s,
|
||||
size: Size(20, 20),
|
||||
),
|
||||
text: FlowyText(
|
||||
|
Reference in New Issue
Block a user