diff --git a/src/bundle/Controller/DefaultProfileImageController.php b/src/bundle/Controller/DefaultProfileImageController.php index 19e757f..d508efe 100644 --- a/src/bundle/Controller/DefaultProfileImageController.php +++ b/src/bundle/Controller/DefaultProfileImageController.php @@ -32,12 +32,8 @@ public function initialsAction(Request $request): Response return $this->render('@IbexaUser/profile_image/initials.svg.twig', [ 'initials' => $initials, - /** @deprecated text is deprecated since 4.1, use text_color instead */ - 'text' => $colors['text'], 'text_color' => $colors['text'], 'border_color' => $colors['text'], - /** @deprecated background is deprecated since 4.1, use background_color instead */ - 'background' => $colors['background'], 'background_color' => $colors['background'], ], $response); } diff --git a/src/bundle/Resources/views/profile_image/initials.svg.twig b/src/bundle/Resources/views/profile_image/initials.svg.twig index f888439..3307385 100644 --- a/src/bundle/Resources/views/profile_image/initials.svg.twig +++ b/src/bundle/Resources/views/profile_image/initials.svg.twig @@ -1,6 +1,6 @@ - - + + {{ initials }}