mirror of
https://github.com/gedoor/legado.git
synced 2024-07-17 00:58:29 +08:00
优化
This commit is contained in:
parent
684c2afd87
commit
9e8744e00f
@ -166,11 +166,10 @@ class BookSourceEditActivity :
|
||||
setText(R.string.source_tab_content)
|
||||
})
|
||||
if (BuildConfig.DEBUG) {
|
||||
binding.cbIsEnableReview.visible()
|
||||
binding.tabLayout.addTab(binding.tabLayout.newTab().apply {
|
||||
setText(R.string.review)
|
||||
})
|
||||
} else {
|
||||
binding.cbIsEnableReview.gone()
|
||||
}
|
||||
binding.recyclerView.setEdgeEffectColor(primaryColor)
|
||||
binding.recyclerView.layoutManager = LinearLayoutManager(this)
|
||||
|
@ -68,7 +68,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="true"
|
||||
android:text="@string/review" />
|
||||
android:text="@string/review"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user