From 610d71297b288167df111915d6b027d1cd039a5f Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Fri, 2 Feb 2018 11:02:27 -0800 Subject: [PATCH] Fix displayName of Mailspring/Snoozed --- app/src/flux/models/category.es6 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/flux/models/category.es6 b/app/src/flux/models/category.es6 index 276fdb704..5a9356019 100644 --- a/app/src/flux/models/category.es6 +++ b/app/src/flux/models/category.es6 @@ -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'; }