pull/36/head
kunfei 5 years ago
parent 54320528dd
commit ecd264bac7
  1. 1
      app/src/main/AndroidManifest.xml
  2. 14
      app/src/main/java/io/legado/app/ui/rss/source/debug/RssSourceDebugActivity.kt
  3. 4
      app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditActivity.kt

@ -70,6 +70,7 @@
<activity android:name=".ui.audio.AudioPlayActivity" />
<activity android:name=".ui.explore.ExploreShowActivity" />
<activity android:name=".ui.rss.source.manage.RssSourceActivity" />
<activity android:name=".ui.rss.source.debug.RssSourceDebugActivity" />
<service android:name=".service.CheckSourceService" />
<service android:name=".service.DownloadService" />

@ -1,2 +1,16 @@
package io.legado.app.ui.rss.source.debug
import android.os.Bundle
import io.legado.app.R
import io.legado.app.base.BaseActivity
class RssSourceDebugActivity : BaseActivity(R.layout.activity_book_source_debug, false) {
override fun onActivityCreated(savedInstanceState: Bundle?) {
}
}

@ -20,7 +20,7 @@ import io.legado.app.constant.AppConst
import io.legado.app.data.entities.EditEntity
import io.legado.app.data.entities.RssSource
import io.legado.app.lib.theme.ATH
import io.legado.app.ui.book.source.debug.SourceDebugActivity
import io.legado.app.ui.rss.source.debug.RssSourceDebugActivity
import io.legado.app.ui.widget.KeyboardToolPop
import io.legado.app.utils.GSON
import io.legado.app.utils.getViewModel
@ -83,7 +83,7 @@ class RssSourceEditActivity :
R.id.menu_debug_source -> {
getRssSource()?.let {
viewModel.save(it) {
startActivity<SourceDebugActivity>(Pair("key", it.sourceUrl))
startActivity<RssSourceDebugActivity>(Pair("key", it.sourceUrl))
}
}
}

Loading…
Cancel
Save