|
|
|
@ -19,12 +19,6 @@ import android.content.ClipData; |
|
|
|
|
import android.content.ClipboardManager; |
|
|
|
|
import android.content.Context; |
|
|
|
|
import android.content.Intent; |
|
|
|
|
import androidx.annotation.NonNull; |
|
|
|
|
import androidx.annotation.Nullable; |
|
|
|
|
import androidx.core.app.ActivityOptionsCompat; |
|
|
|
|
import androidx.core.view.ViewCompat; |
|
|
|
|
import androidx.appcompat.app.AlertDialog; |
|
|
|
|
import androidx.appcompat.widget.PopupMenu; |
|
|
|
|
import android.text.Spanned; |
|
|
|
|
import android.view.Menu; |
|
|
|
|
import android.view.View; |
|
|
|
@ -50,6 +44,13 @@ import java.util.Set; |
|
|
|
|
|
|
|
|
|
import javax.inject.Inject; |
|
|
|
|
|
|
|
|
|
import androidx.annotation.NonNull; |
|
|
|
|
import androidx.annotation.Nullable; |
|
|
|
|
import androidx.appcompat.app.AlertDialog; |
|
|
|
|
import androidx.appcompat.widget.PopupMenu; |
|
|
|
|
import androidx.core.app.ActivityOptionsCompat; |
|
|
|
|
import androidx.core.view.ViewCompat; |
|
|
|
|
|
|
|
|
|
/* Note from Andrew on Jan. 22, 2017: This class is a design problem for me, so I left it with an |
|
|
|
|
* awkward name. TimelineFragment and NotificationFragment have significant overlap but the nature |
|
|
|
|
* of that is complicated by how they're coupled with Status and Notification and the corresponding |
|
|
|
@ -126,7 +127,7 @@ public abstract class SFragment extends BaseFragment { |
|
|
|
|
.replyVisibility(replyVisibility) |
|
|
|
|
.contentWarning(contentWarning) |
|
|
|
|
.mentionedUsernames(mentionedUsernames) |
|
|
|
|
.repyingStatusAuthor(actionableStatus.getAccount().getLocalUsername()) |
|
|
|
|
.replyingStatusAuthor(actionableStatus.getAccount().getLocalUsername()) |
|
|
|
|
.replyingStatusContent(actionableStatus.getContent().toString()) |
|
|
|
|
.build(getContext()); |
|
|
|
|
getActivity().startActivity(intent); |
|
|
|
|