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:
|
||||
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,
|
||||
),
|
||||
],
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user