Skip to content

Commit 356d160

Browse files
committed
Add slight background for increased visablility
1 parent 7a9b7a3 commit 356d160

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SupportCompanion/ContentView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ struct ContentView: View {
125125
// The popup content
126126
PopupModal(isShowing: $isShowingPopup)
127127
}
128-
.background(.clear)
128+
// Set the background color based on the color scheme with opacity
129+
.background(colorScheme == .dark ? Color.black.opacity(0.4) : Color.white.opacity(0.4))
129130
.background(.ultraThinMaterial)
130131
}
131132

0 commit comments

Comments
 (0)