diff --git a/lib/pages/chat_details/participant_list_item/participant_list_item.dart b/lib/pages/chat_details/participant_list_item/participant_list_item.dart index e059fa7509..6f8150a01b 100644 --- a/lib/pages/chat_details/participant_list_item/participant_list_item.dart +++ b/lib/pages/chat_details/participant_list_item/participant_list_item.dart @@ -186,11 +186,11 @@ class ParticipantListItem extends StatelessWidget { Icons.person_search, color: LinagoraSysColors.material().onSurface, ), - label: L10n.of(context)?.viewProfile != null + label: L10n.of(bottomSheetContext)?.viewProfile != null ? Row( children: [ Text( - L10n.of(context)!.viewProfile, + L10n.of(bottomSheetContext)!.viewProfile, style: TextStyle( color: LinagoraSysColors.material() .onSurface,