BottomSheetActivity: use ViewThreadActivity's static call to generate intent

main
Alibek Omarov 5 years ago
parent 9882f0d7e3
commit bb1a7e4331
  1. 4
      app/src/main/java/com/keylesspalace/tusky/BottomSheetActivity.kt

@ -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…
Cancel
Save