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

This commit is contained in:
kyori19 2018-12-21 02:25:36 +09:00 committed by Konrad Pozniak
parent 079c792d0c
commit 9fe7aacd6d

View File

@ -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;