kunfei 4 лет назад
Родитель
Сommit
6132e417a4

+ 1 - 0
app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt

@@ -146,6 +146,7 @@ class BookSourceEditActivity :
 
     private fun initView() {
         if (!BuildConfig.DEBUG) {
+            binding.cbIsEnableReview.gone()
             binding.tabLayout.removeTabAt(6)
         }
         binding.recyclerView.setEdgeEffectColor(primaryColor)

+ 1 - 1
app/src/main/res/layout/activity_book_source_edit.xml

@@ -36,7 +36,7 @@
             <androidx.appcompat.widget.AppCompatSpinner
                 android:id="@+id/sp_type"
                 android:layout_width="wrap_content"
-                android:layout_height="match_parent"
+                android:layout_height="wrap_content"
                 android:entries="@array/book_type"
                 app:theme="@style/Spinner" />