fix pfp color

This commit is contained in:
Kima 2024-05-01 19:56:11 +02:00
parent d0599bed7d
commit d84a9892c8

View File

@ -89,7 +89,7 @@ class _ProfileImageState extends State<ProfileImage> {
clipBehavior: Clip.hardEdge, clipBehavior: Clip.hardEdge,
shape: const CircleBorder(), shape: const CircleBorder(),
color: widget.name != null && widget.name! == 'Rendszerüzenet' color: widget.name != null && widget.name! == 'Rendszerüzenet'
? widget.backgroundColor?.withOpacity(0.5) ?? ? widget.backgroundColor?.withOpacity(0.8) ??
AppColors.of(context).text.withOpacity(0.5) AppColors.of(context).text.withOpacity(0.5)
: widget.backgroundColor ?? : widget.backgroundColor ??
AppColors.of(context).text.withOpacity(.15), AppColors.of(context).text.withOpacity(.15),