Horis 1 год назад
Родитель
Сommit
7f77fe0bd6

+ 2 - 1
app/src/main/java/io/legado/app/ui/book/manga/ReadMangaActivity.kt

@@ -329,7 +329,8 @@ class ReadMangaActivity : VMBaseActivity<ActivityMangaBinding, ReadMangaViewMode
                 } else {
                 } else {
                     var percent =
                     var percent =
                         df.format(
                         df.format(
-                            chapterIndex * 1.0f / chapterSize + 1.0f / chapterSize * (chapterPos + 1) / imageCount.toDouble()
+                            chapterIndex * 1.0f / chapterSize + 1.0f /
+                                    chapterSize * (chapterPos + 1) / imageCount.toDouble()
                         )
                         )
                     if (percent == "100.0%" && (chapterIndex + 1 != chapterSize || chapterPos + 1 != imageCount)) {
                     if (percent == "100.0%" && (chapterIndex + 1 != chapterSize || chapterPos + 1 != imageCount)) {
                         percent = "99.9%"
                         percent = "99.9%"

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

@@ -48,7 +48,7 @@
             android:layout_marginStart="15dp"
             android:layout_marginStart="15dp"
             android:layout_marginEnd="15dp"
             android:layout_marginEnd="15dp"
             android:min="1"
             android:min="1"
-            android:max="120"
+            android:max="60"
             tools:ignore="UnusedAttribute" />
             tools:ignore="UnusedAttribute" />
 
 
     </LinearLayout>
     </LinearLayout>