|
|
|
@ -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 |
|
|
|
|