Fix localization of "New call" view header
This commit is contained in:
parent
136740840a
commit
15eeaa189a
1 changed files with 3 additions and 3 deletions
|
@ -151,7 +151,7 @@ export function CallsNewCall({
|
||||||
if (directConversations.length > 0) {
|
if (directConversations.length > 0) {
|
||||||
result.push({
|
result.push({
|
||||||
kind: 'header',
|
kind: 'header',
|
||||||
title: 'Contacts',
|
title: i18n('icu:contactsHeader'),
|
||||||
});
|
});
|
||||||
result = result.concat(
|
result = result.concat(
|
||||||
directConversations.map(conversation => {
|
directConversations.map(conversation => {
|
||||||
|
@ -165,7 +165,7 @@ export function CallsNewCall({
|
||||||
if (groupConversations.length > 0) {
|
if (groupConversations.length > 0) {
|
||||||
result.push({
|
result.push({
|
||||||
kind: 'header',
|
kind: 'header',
|
||||||
title: 'Groups',
|
title: i18n('icu:groupsHeader'),
|
||||||
});
|
});
|
||||||
result = result.concat(
|
result = result.concat(
|
||||||
groupConversations.map((conversation): Row => {
|
groupConversations.map((conversation): Row => {
|
||||||
|
@ -177,7 +177,7 @@ export function CallsNewCall({
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}, [directConversations, groupConversations]);
|
}, [directConversations, groupConversations, i18n]);
|
||||||
|
|
||||||
const isRowLoaded = useCallback(
|
const isRowLoaded = useCallback(
|
||||||
({ index }: { index: number }) => {
|
({ index }: { index: number }) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue