Fixes notifications not setting their visibility.
This commit is contained in:
parent
3d074b10fb
commit
5257ecbfe2
|
@ -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…
Reference in New Issue