fixed the encoded tiltle issue in chinese

Checked the code of react.native part, there's no issue by using safeDecodeURIComponent.
So fixed it in same way.
This commit is contained in:
Vincent Hou 2020-02-08 13:30:56 +08:00 committed by Saúl Ibarra Corretgé
parent bbca0fc357
commit 3e40bb19cd
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/* global interfaceConfig */
import { parseURIString } from '../base/util';
import { parseURIString, safeDecodeURIComponent } from '../base/util';
/**
@ -18,7 +18,7 @@ export function toDisplayableList(recentList) {
date: item.date,
duration: item.duration,
time: [ item.date ],
title: parseURIString(item.conference).room,
title: safeDecodeURIComponent(parseURIString(item.conference).room),
url: item.conference
};
}));