Explorar o código

Remove retweet action from protected account's tweets

Carsten Porth %!s(int64=6) %!d(string=hai) anos
pai
achega
2bbf6cc210
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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">
     <ion-icon name="ios-chatbubbles-outline"></ion-icon>
   </div>
-  <div class="retweets">
+  <div class="retweets" *ngIf="!data.user.protected">
     <ion-icon name="ios-git-compare-outline"></ion-icon>
     <span>{{ data.retweet_count | friendlyNumber }}</span>
   </div>