mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user