mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 01:54:40 +08:00
Fix displayName of Mailspring/Snoozed
This commit is contained in:
parent
f2910f807b
commit
610d71297b
1 changed files with 3 additions and 0 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue