pull/464/head
Robot 4 years ago
commit aa08a930ff
  1. 2
      app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt

@ -48,6 +48,8 @@ class ReadRssActivity : VMBaseActivity<ReadRssViewModel>(R.layout.activity_rss_r
viewModel.initData(intent) viewModel.initData(intent)
} }
@Suppress("DEPRECATION")
@SuppressLint("SwitchIntDef")
override fun onConfigurationChanged(newConfig: Configuration) { override fun onConfigurationChanged(newConfig: Configuration) {
super.onConfigurationChanged(newConfig) super.onConfigurationChanged(newConfig)
when (newConfig.orientation) { when (newConfig.orientation) {

Loading…
Cancel
Save