mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: notification actions lemonade darkmode (#3862)
This commit is contained in:
parent
dc0af0f4c1
commit
a93d325e6a
@ -244,6 +244,7 @@ class NotificationItemActions extends StatelessWidget {
|
|||||||
tooltipText:
|
tooltipText:
|
||||||
LocaleKeys.reminderNotification_tooltipMarkUnread.tr(),
|
LocaleKeys.reminderNotification_tooltipMarkUnread.tr(),
|
||||||
icon: const FlowySvg(FlowySvgs.restore_s),
|
icon: const FlowySvg(FlowySvgs.restore_s),
|
||||||
|
iconColorOnHover: Theme.of(context).colorScheme.onSurface,
|
||||||
onPressed: () => onReadChanged?.call(false),
|
onPressed: () => onReadChanged?.call(false),
|
||||||
),
|
),
|
||||||
] else ...[
|
] else ...[
|
||||||
@ -251,6 +252,7 @@ class NotificationItemActions extends StatelessWidget {
|
|||||||
height: 28,
|
height: 28,
|
||||||
tooltipText:
|
tooltipText:
|
||||||
LocaleKeys.reminderNotification_tooltipMarkRead.tr(),
|
LocaleKeys.reminderNotification_tooltipMarkRead.tr(),
|
||||||
|
iconColorOnHover: Theme.of(context).colorScheme.onSurface,
|
||||||
icon: const FlowySvg(FlowySvgs.messages_s),
|
icon: const FlowySvg(FlowySvgs.messages_s),
|
||||||
onPressed: () => onReadChanged?.call(true),
|
onPressed: () => onReadChanged?.call(true),
|
||||||
),
|
),
|
||||||
@ -266,6 +268,7 @@ class NotificationItemActions extends StatelessWidget {
|
|||||||
height: 28,
|
height: 28,
|
||||||
tooltipText: LocaleKeys.reminderNotification_tooltipDelete.tr(),
|
tooltipText: LocaleKeys.reminderNotification_tooltipDelete.tr(),
|
||||||
icon: const FlowySvg(FlowySvgs.delete_s),
|
icon: const FlowySvg(FlowySvgs.delete_s),
|
||||||
|
iconColorOnHover: Theme.of(context).colorScheme.onSurface,
|
||||||
onPressed: onDelete,
|
onPressed: onDelete,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -85,6 +85,7 @@ class FlowyIconButton extends StatelessWidget {
|
|||||||
iconColorOnHover ?? Theme.of(context).iconTheme.color,
|
iconColorOnHover ?? Theme.of(context).iconTheme.color,
|
||||||
//Do not set background here. Use [fillColor] instead.
|
//Do not set background here. Use [fillColor] instead.
|
||||||
),
|
),
|
||||||
|
resetHoverOnRebuild: false,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: iconPadding,
|
padding: iconPadding,
|
||||||
child: Center(
|
child: Center(
|
||||||
|
Loading…
Reference in New Issue
Block a user