Fix wrong visibility icon(tuskyapp#901) (#960)

main
kyori19 6 years ago committed by Konrad Pozniak
parent 079c792d0c
commit 9fe7aacd6d
  1. 5
      app/src/main/java/com/keylesspalace/tusky/adapter/StatusDetailedViewHolder.java

@ -4,7 +4,6 @@ import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.graphics.drawable.Drawable;
import androidx.annotation.Nullable;
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.text.TextUtils;
@ -30,6 +29,8 @@ import java.text.DateFormat;
import java.text.NumberFormat;
import java.util.Date;
import androidx.annotation.Nullable;
class StatusDetailedViewHolder extends StatusBaseViewHolder {
private TextView reblogs;
private TextView favourites;
@ -172,7 +173,7 @@ class StatusDetailedViewHolder extends StatusBaseViewHolder {
visibilityIcon = R.drawable.ic_lock_open_24dp;
break;
case PRIVATE:
visibilityIcon = R.drawable.ic_lock_open_24dp;
visibilityIcon = R.drawable.ic_lock_outline_24dp;
break;
case DIRECT:
visibilityIcon = R.drawable.ic_email_24dp;

Loading…
Cancel
Save