Fix displayName of Mailspring/Snoozed

This commit is contained in:
Ben Gotow 2018-02-02 11:02:27 -08:00
parent f2910f807b
commit 610d71297b

View file

@ -65,6 +65,9 @@ export default class Category extends Model {
return decoded.substr(prefix.length + 1); // + delimiter
}
}
if (decoded.startsWith('Mailspring/') || decoded.startsWith('Mailspring.')) {
return decoded.substr(11);
}
if (decoded === 'INBOX') {
return 'Inbox';
}