perf(efficiency): 落实首批采样减负与发行包瘦身
This commit is contained in:
@@ -54,7 +54,6 @@ struct CapacityBar: View {
|
||||
let values: [Double]
|
||||
let colors: [Color]
|
||||
let total: Double
|
||||
@Environment(\.accessibilityReduceMotion) private var reduceMotion
|
||||
|
||||
var body: some View {
|
||||
GeometryReader { bounds in
|
||||
@@ -65,7 +64,6 @@ struct CapacityBar: View {
|
||||
}
|
||||
}
|
||||
.clipShape(Capsule())
|
||||
.animation(reduceMotion ? nil : .easeInOut(duration: 0.35), value: values)
|
||||
}
|
||||
.frame(height: 8)
|
||||
.accessibilityHidden(true)
|
||||
|
||||
Reference in New Issue
Block a user