浏览代码

Put unread count in window title as first element (#286)

Fixes #285
IndianaDschones 8 年之前
父节点
当前提交
745238c7de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/services/title.ts

+ 1 - 1
src/services/title.ts

@@ -41,7 +41,7 @@ export class TitleService {
 
 
     private update(): void {
     private update(): void {
         if (this.unreadCount > 0) {
         if (this.unreadCount > 0) {
-            this.title = `${this.DEFAULT_TITLE} (${this.unreadCount})`;
+            this.title = `(${this.unreadCount}) ${this.DEFAULT_TITLE}`;
         } else {
         } else {
             this.title = this.DEFAULT_TITLE;
             this.title = this.DEFAULT_TITLE;
         }
         }