mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 07:46:06 +08:00
Do UTF7=>UTF8 conversion of paths shown in sync progress
This commit is contained in:
parent
11a8aee17d
commit
797f86c698
|
@ -1,4 +1,5 @@
|
|||
import { AccountStore, FolderSyncProgressStore, React } from 'mailspring-exports';
|
||||
import utf7 from 'utf7';
|
||||
|
||||
export default class InitialSyncActivity extends React.Component {
|
||||
static displayName = 'InitialSyncActivity';
|
||||
|
@ -38,9 +39,11 @@ export default class InitialSyncActivity extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
const folderDisplayPath = utf7.imap.decode(folderPath);
|
||||
|
||||
return (
|
||||
<div className={`model-progress ${status}`} key={folderPath}>
|
||||
{folderPath} <span className="progress-label">{progressLabel}</span>
|
||||
{folderDisplayPath} <span className="progress-label">{progressLabel}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue