mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-25 07:07:32 -04:00
fix: hover state issue in icon picker for dark mode workspace name. (#2395)
This commit is contained in:
parent
4be98fdba0
commit
c6cd10dfcf
1 changed files with 9 additions and 3 deletions
|
@ -168,6 +168,7 @@ class _CurrentIcon extends StatelessWidget {
|
||||||
context: context,
|
context: context,
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return SimpleDialog(
|
return SimpleDialog(
|
||||||
|
backgroundColor: Theme.of(context).canvasColor,
|
||||||
title: FlowyText.medium(
|
title: FlowyText.medium(
|
||||||
LocaleKeys.settings_user_selectAnIcon.tr(),
|
LocaleKeys.settings_user_selectAnIcon.tr(),
|
||||||
fontSize: FontSizes.s16,
|
fontSize: FontSizes.s16,
|
||||||
|
@ -263,11 +264,16 @@ class IconOption extends StatelessWidget {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Material(
|
return Material(
|
||||||
color: Colors.transparent,
|
color: Colors.transparent,
|
||||||
child: GestureDetector(
|
child: IconButton(
|
||||||
onTap: () {
|
iconSize: 15.0,
|
||||||
|
icon: svgWidget(
|
||||||
|
'emoji/$iconUrl',
|
||||||
|
),
|
||||||
|
padding: EdgeInsets.zero,
|
||||||
|
hoverColor: Theme.of(context).colorScheme.tertiaryContainer,
|
||||||
|
onPressed: () {
|
||||||
setIcon(iconUrl);
|
setIcon(iconUrl);
|
||||||
},
|
},
|
||||||
child: svgWidget('emoji/$iconUrl'),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue