feat: 优化代码

pull/134/head^2
kunfei 5 years ago
parent 936087e5d1
commit d16e9956cf
  1. 4
      app/src/main/java/io/legado/app/ui/login/SourceLogin.kt
  2. 5
      app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt

@ -76,4 +76,8 @@ class SourceLogin : BaseActivity(R.layout.activity_source_login) {
return super.onCompatOptionsItemSelected(item)
}
override fun onDestroy() {
super.onDestroy()
web_view.destroy()
}
}

@ -203,4 +203,9 @@ class ReadRssActivity : VMBaseActivity<ReadRssViewModel>(R.layout.activity_rss_r
}
}
override fun onDestroy() {
super.onDestroy()
web_view.destroy()
}
}

Loading…
Cancel
Save