diff --git a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt index 84d36c5eb..f13f41b61 100644 --- a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt +++ b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt @@ -1,15 +1,15 @@ package io.legado.app.ui.rss.read import android.os.Bundle -import androidx.appcompat.app.AppCompatActivity import io.legado.app.R +import io.legado.app.base.BaseActivity import kotlinx.android.synthetic.main.activity_rss_read.* -class ReadRssActivity : AppCompatActivity() { - override fun onCreate(savedInstanceState: Bundle?) { - super.onCreate(savedInstanceState) - setContentView(R.layout.activity_rss_read) +class ReadRssActivity : BaseActivity(R.layout.activity_rss_read) { + + override fun onActivityCreated(savedInstanceState: Bundle?) { val description = intent.getStringExtra("description") webView.loadData("$description","text/html", "utf-8") } + } \ No newline at end of file