Преглед на файлове

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 {
         if (this.unreadCount > 0) {
-            this.title = `${this.DEFAULT_TITLE} (${this.unreadCount})`;
+            this.title = `(${this.unreadCount}) ${this.DEFAULT_TITLE}`;
         } else {
             this.title = this.DEFAULT_TITLE;
         }