BottomSheetActivity: use ViewThreadActivity's static call to generate intent
This commit is contained in:
parent
921d83d075
commit
dda88dad39
@ -102,9 +102,7 @@ abstract class BottomSheetActivity : BaseActivity() {
|
||||
|
||||
open fun viewThread(statusId: String, url: String?) {
|
||||
if (!isSearching()) {
|
||||
val intent = Intent(this, ViewThreadActivity::class.java)
|
||||
intent.putExtra("id", statusId)
|
||||
intent.putExtra("url", url)
|
||||
val intent = ViewThreadActivity.startIntent(this, statusId, url)
|
||||
startActivityWithSlideInAnimation(intent)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user