fix: notification actions lemonade darkmode (#3862)

This commit is contained in:
Mathias Mogensen 2023-11-02 17:17:30 +01:00 committed by GitHub
parent dc0af0f4c1
commit a93d325e6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -244,6 +244,7 @@ class NotificationItemActions extends StatelessWidget {
tooltipText:
LocaleKeys.reminderNotification_tooltipMarkUnread.tr(),
icon: const FlowySvg(FlowySvgs.restore_s),
iconColorOnHover: Theme.of(context).colorScheme.onSurface,
onPressed: () => onReadChanged?.call(false),
),
] else ...[
@ -251,6 +252,7 @@ class NotificationItemActions extends StatelessWidget {
height: 28,
tooltipText:
LocaleKeys.reminderNotification_tooltipMarkRead.tr(),
iconColorOnHover: Theme.of(context).colorScheme.onSurface,
icon: const FlowySvg(FlowySvgs.messages_s),
onPressed: () => onReadChanged?.call(true),
),
@ -266,6 +268,7 @@ class NotificationItemActions extends StatelessWidget {
height: 28,
tooltipText: LocaleKeys.reminderNotification_tooltipDelete.tr(),
icon: const FlowySvg(FlowySvgs.delete_s),
iconColorOnHover: Theme.of(context).colorScheme.onSurface,
onPressed: onDelete,
),
],

View File

@ -85,6 +85,7 @@ class FlowyIconButton extends StatelessWidget {
iconColorOnHover ?? Theme.of(context).iconTheme.color,
//Do not set background here. Use [fillColor] instead.
),
resetHoverOnRebuild: false,
child: Padding(
padding: iconPadding,
child: Center(