Skip to content

Commit 684e2a8

Browse files
graycreateclaude
andcommitted
fix: unify background color for "No more data" indicator
- 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 <[email protected]>
1 parent 8bbd843 commit 684e2a8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

V2er/View/Widget/Updatable/LoadmoreIndicatorView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ struct LoadmoreIndicatorView: View {
3030
}
3131
}
3232
.padding()
33+
.greedyWidth()
34+
.background(Color.itemBg)
3335
}
3436
}
3537

V2er/View/Widget/Updatable/UpdatableView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ struct UpdatableView<Content: View>: View {
7676
}
7777
}
7878
}
79+
.background(Color.itemBg)
7980
.onChange(of: state.scrollToTop) { scrollToTop in
8081
guard scrollToTop != 0 else { return }
8182
withAnimation {

0 commit comments

Comments
 (0)