Browse Source

Remove retweet action from protected account's tweets

Carsten Porth 6 years ago
parent
commit
2bbf6cc210
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/components/tweet-actions/tweet-actions.html

+ 1 - 1
app/src/components/tweet-actions/tweet-actions.html

@@ -3,7 +3,7 @@
   <div class="comments">
   <div class="comments">
     <ion-icon name="ios-chatbubbles-outline"></ion-icon>
     <ion-icon name="ios-chatbubbles-outline"></ion-icon>
   </div>
   </div>
-  <div class="retweets">
+  <div class="retweets" *ngIf="!data.user.protected">
     <ion-icon name="ios-git-compare-outline"></ion-icon>
     <ion-icon name="ios-git-compare-outline"></ion-icon>
     <span>{{ data.retweet_count | friendlyNumber }}</span>
     <span>{{ data.retweet_count | friendlyNumber }}</span>
   </div>
   </div>