mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: field hide/delete icon color in dark mode (#2998)
This commit is contained in:
parent
e69e72e3bd
commit
39988f6785
@ -233,10 +233,7 @@ class _DeleteFieldButton extends StatelessWidget {
|
||||
LocaleKeys.grid_field_delete.tr(),
|
||||
color: enable ? null : Theme.of(context).disabledColor,
|
||||
),
|
||||
leftIcon: svgWidget(
|
||||
'grid/delete',
|
||||
color: enable ? null : Theme.of(context).disabledColor,
|
||||
),
|
||||
leftIcon: const FlowySvg(name: 'grid/delete'),
|
||||
onTap: () {
|
||||
if (enable) onDeleted?.call();
|
||||
},
|
||||
@ -267,7 +264,7 @@ class _HideFieldButton extends StatelessWidget {
|
||||
text: FlowyText.medium(
|
||||
LocaleKeys.grid_field_hide.tr(),
|
||||
),
|
||||
leftIcon: svgWidget('grid/hide'),
|
||||
leftIcon: const FlowySvg(name: 'grid/hide'),
|
||||
onTap: () => onHidden?.call(),
|
||||
onHover: (_) => popoverMutex.close(),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user