mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Feed cache
This commit is contained in:
@@ -82,7 +82,7 @@ struct CommentView: View {
|
||||
repliesButton
|
||||
|
||||
ProgressView()
|
||||
.scaleEffect(progressViewScale, anchor: .center)
|
||||
.scaleEffect(Constants.progressViewScale, anchor: .center)
|
||||
.opacity(repliesID == comment.id && !comments.repliesLoaded ? 1 : 0)
|
||||
.frame(maxHeight: 0)
|
||||
}
|
||||
@@ -200,14 +200,6 @@ struct CommentView: View {
|
||||
#endif
|
||||
}
|
||||
|
||||
private var progressViewScale: Double {
|
||||
#if os(macOS)
|
||||
0.4
|
||||
#else
|
||||
0.6
|
||||
#endif
|
||||
}
|
||||
|
||||
private var repliesList: some View {
|
||||
Group {
|
||||
let last = comments.replies.last
|
||||
|
Reference in New Issue
Block a user