Skip to content

Commit 03b3982

Browse files
committed
fix: remove unnecessary blank line in StatusBarIcon view
1 parent 01bb5f1 commit 03b3982

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Pareto/Views/StatusBarIcon.swift

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ struct StatusBarIcon: View {
6565
return newImage
6666
}
6767

68-
6968
var body: some View {
7069
// Center inside the status bar button area
7170
ZStack(alignment: .bottomLeading) {
@@ -85,12 +84,12 @@ struct StatusBarIcon: View {
8584
let side = NSStatusBar.system.thickness
8685
// Make the overlay small relative to the bar size; keep readable
8786
let overlaySide = max(10, floor(side * 0.55))
88-
// Small colored status dot in the bottom-left corner
89-
Circle()
90-
.fill(overlayColor)
91-
.frame(width: overlaySide, height: overlaySide)
92-
.padding(2)
93-
.accessibilityHidden(true)
87+
// Small colored status dot in the bottom-left corner
88+
Circle()
89+
.fill(overlayColor)
90+
.frame(width: overlaySide, height: overlaySide)
91+
.padding(2)
92+
.accessibilityHidden(true)
9493
}
9594
// Force refresh when running state or nonce changes
9695
.id(statusBarModel.refreshNonce ^ (statusBarModel.isRunning ? 1 : 0))

0 commit comments

Comments
 (0)