Explorar o código

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

Fixes #285
IndianaDschones %!s(int64=8) %!d(string=hai) anos
pai
achega
745238c7de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
         }