fix: mobile view and field list bottom sheets (#4727)

This commit is contained in:
Richard Shiue
2024-02-25 11:51:18 +08:00
committed by GitHub
parent c3e5aa29fc
commit d861ce6227
4 changed files with 44 additions and 16 deletions

View File

@ -480,7 +480,11 @@ class _MoreOptionsState extends State<_MoreOptions> {
Widget _buildDeleteButton(BuildContext context) {
return FlowyOptionTile.text(
text: LocaleKeys.button_delete.tr(),
leftIcon: const FlowySvg(FlowySvgs.m_delete_s),
textColor: Theme.of(context).colorScheme.error,
leftIcon: FlowySvg(
FlowySvgs.m_delete_s,
color: Theme.of(context).colorScheme.error,
),
onTap: widget.onDelete,
);
}