pull/2446/head
kunfei 2 years ago
parent 65fb1c1d7c
commit 7affe01521
  1. 4
      app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt

@ -9,6 +9,7 @@ import androidx.activity.viewModels
import androidx.recyclerview.widget.LinearLayoutManager
import com.google.android.material.tabs.TabLayout
import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel
import io.legado.app.BuildConfig
import io.legado.app.R
import io.legado.app.base.VMBaseActivity
import io.legado.app.constant.BookSourceType
@ -143,6 +144,9 @@ class BookSourceEditActivity :
}
private fun initView() {
if (!BuildConfig.DEBUG) {
binding.tabLayout.removeTabAt(6)
}
binding.recyclerView.setEdgeEffectColor(primaryColor)
binding.recyclerView.layoutManager = LinearLayoutManager(this)
binding.recyclerView.adapter = adapter

Loading…
Cancel
Save