Merge branch 'krille/hot-fixes' into 'main'

Krille/hot fixes

See merge request famedly/fluffychat!856
This commit is contained in:
Krille Fear 2022-05-03 14:45:53 +00:00
commit b1417c07b3
2 changed files with 158 additions and 151 deletions

View File

@ -14,6 +14,9 @@
- feat: allow to create widgets (TheOneWithTheBraid) - feat: allow to create widgets (TheOneWithTheBraid)
- feat: remove diacritics (henri2h) - feat: remove diacritics (henri2h)
- feat: irish language support (Graeme Power) - feat: irish language support (Graeme Power)
- feat: Enable screensharing on Mobile
- feat: support AppImage builds
- feat: Improve spaces design
- fix: Android theme is not auto updating when system theme changes (Krille Fear) - fix: Android theme is not auto updating when system theme changes (Krille Fear)
- fix: Chat view becomes gray for a second on sending reaction (Krille Fear) - fix: Chat view becomes gray for a second on sending reaction (Krille Fear)
- fix: Don't request new thumbnail resolution on every window resize (Samuel Mezger) - fix: Don't request new thumbnail resolution on every window resize (Samuel Mezger)

View File

@ -155,11 +155,14 @@ class ChatListItem extends StatelessWidget {
? 20.0 ? 20.0
: 14.0 : 14.0
: 0.0; : 0.0;
return ListTile( return Material(
selected: selected || activeChat, color: selected
selectedTileColor: selected
? Theme.of(context).primaryColor.withAlpha(100) ? Theme.of(context).primaryColor.withAlpha(100)
: Theme.of(context).secondaryHeaderColor, : activeChat
? Theme.of(context).secondaryHeaderColor
: Colors.transparent,
child: ListTile(
selected: selected || activeChat,
onLongPress: onLongPress as void Function()?, onLongPress: onLongPress as void Function()?,
leading: selected leading: selected
? SizedBox( ? SizedBox(
@ -321,6 +324,7 @@ class ChatListItem extends StatelessWidget {
], ],
), ),
onTap: () => clickAction(context), onTap: () => clickAction(context),
),
); );
} }
} }