From 684e2a83b92b3dda0281ad2252f20b7eba482dd1 Mon Sep 17 00:00:00 2001 From: graycreate Date: Mon, 1 Dec 2025 23:05:32 +0800 Subject: [PATCH] fix: unify background color for "No more data" indicator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Color.itemBg background to LoadmoreIndicatorView to match content area - Add Color.itemBg background to ScrollView in UpdatableView for consistent background color throughout the entire scrollable area 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- V2er/View/Widget/Updatable/LoadmoreIndicatorView.swift | 2 ++ V2er/View/Widget/Updatable/UpdatableView.swift | 1 + 2 files changed, 3 insertions(+) diff --git a/V2er/View/Widget/Updatable/LoadmoreIndicatorView.swift b/V2er/View/Widget/Updatable/LoadmoreIndicatorView.swift index 48dc235..f64442d 100644 --- a/V2er/View/Widget/Updatable/LoadmoreIndicatorView.swift +++ b/V2er/View/Widget/Updatable/LoadmoreIndicatorView.swift @@ -30,6 +30,8 @@ struct LoadmoreIndicatorView: View { } } .padding() + .greedyWidth() + .background(Color.itemBg) } } diff --git a/V2er/View/Widget/Updatable/UpdatableView.swift b/V2er/View/Widget/Updatable/UpdatableView.swift index baf09a6..bfdea8c 100644 --- a/V2er/View/Widget/Updatable/UpdatableView.swift +++ b/V2er/View/Widget/Updatable/UpdatableView.swift @@ -76,6 +76,7 @@ struct UpdatableView: View { } } } + .background(Color.itemBg) .onChange(of: state.scrollToTop) { scrollToTop in guard scrollToTop != 0 else { return } withAnimation {