瀏覽代碼

Slightly tweak MangaScreen refresh indicator

Related to #7813. It still starts below the status bar, but it looks a bit less weird.
arkon 1 年之前
父節點
當前提交
899fe57f15
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/main/java/eu/kanade/presentation/manga/MangaScreen.kt

+ 1 - 1
app/src/main/java/eu/kanade/presentation/manga/MangaScreen.kt

@@ -340,7 +340,7 @@ private fun MangaScreenSmallImpl(
             refreshing = state.isRefreshingData,
             onRefresh = onRefresh,
             enabled = chapters.fastAll { !it.selected },
-            indicatorPadding = contentPadding,
+            indicatorPadding = WindowInsets.systemBars.only(WindowInsetsSides.Top).asPaddingValues(),
         ) {
             val layoutDirection = LocalLayoutDirection.current
             VerticalFastScroller(