Fixes notifications not setting their visibility.

main
Vavassor 8 years ago
parent 5efaeafa12
commit 8f226b024c
  1. 1
      app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java
  2. 1
      app/src/main/java/com/keylesspalace/tusky/util/ViewDataUtils.java

@ -38,7 +38,6 @@ import com.keylesspalace.tusky.view.RoundedTransformation;
import com.keylesspalace.tusky.viewdata.NotificationViewData;
import com.keylesspalace.tusky.viewdata.StatusViewData;
import com.squareup.picasso.Picasso;
import com.varunest.sparkbutton.helpers.Utils;
import java.util.ArrayList;
import java.util.List;

@ -37,6 +37,7 @@ public final class ViewDataUtils {
.setSpoilerText(visibleStatus.spoilerText)
.setRebloggedByUsername(status.reblog == null ? null : status.account.username)
.setUserFullName(visibleStatus.account.getDisplayName())
.setVisibility(visibleStatus.visibility)
.setSenderId(visibleStatus.account.id)
.setRebloggingEnabled(visibleStatus.rebloggingAllowed())
.createStatusViewData();

Loading…
Cancel
Save