Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepistrol committed Nov 28, 2023
1 parent cb21a18 commit 9aa9905
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions TimeMachineStatus/Views/StatusBarItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ struct StatusBarItem: View {
var sizePassthrough: PassthroughSubject<CGSize, Never>
@ObservedObject var utility: TMUtility


private var mainContent: some View {
HStack(spacing: spacing) {
if utility.isIdle {
Expand Down Expand Up @@ -100,7 +99,7 @@ struct StatusBarItem: View {
@State private var isAnimating = false

private var rotationAnimation: Animation { .linear(duration: 2).repeatForever(autoreverses: false) }

var body: some View {
Symbols.arrowTriangleCirclepath.image
.rotationEffect(Angle(degrees: isAnimating ? 360 : 0), anchor: .center)
Expand Down

0 comments on commit 9aa9905

Please sign in to comment.