Browse Source

Avatar directive: Rename variable

Danilo Bargen 6 years ago
parent
commit
ecb41a83d8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/directives/avatar.ts

+ 3 - 3
src/directives/avatar.ts

@@ -235,18 +235,18 @@ export default [
                         }
                     };
 
-                    const isWork = webClientService.clientInfo.isWork;
+                    const isWorkApp = webClientService.clientInfo.isWork;
                     this.showWorkIndicator = () => {
                         if (!isContactReceiver(this.receiver)) { return false; }
                         const contact: threema.ContactReceiver = this.receiver;
-                        return isWork === false
+                        return isWorkApp === false
                             && !this.highResolution
                             && contact.identityType === threema.IdentityType.Work;
                     };
                     this.showHomeIndicator = () => {
                         if (!isContactReceiver(this.receiver)) { return false; }
                         const contact: threema.ContactReceiver = this.receiver;
-                        return isWork === true
+                        return isWorkApp === true
                             && !isGatewayContact(contact)
                             && !isEchoContact(contact)
                             && contact.identityType === threema.IdentityType.Regular