Skip to content

Commit 6a479f5

Browse files
authored
[#190] adaptiveButtonStyle을 개선한다 (#195)
* ui: iOS 18 이하 라이트모드에서의 가독성 개선 * ui: glassEffect로 인해 뷰 주변에 블러 형태가 보이는 현상 방지 * style: 불필요 괄호 제거
1 parent 07083e0 commit 6a479f5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

DevLog/UI/Extension/View+.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,15 @@ extension View {
101101
self.foregroundStyle(Color(.label))
102102
.padding(8)
103103
.glassEffect(.regular.tint(color), in: shape)
104+
.clipShape(shape)
104105
} else {
105106
self.foregroundStyle(Color(.label))
106107
.padding(8)
107108
.background {
108109
Group {
109110
if color == .clear {
110111
shape
111-
.fill(.ultraThinMaterial)
112+
.fill(Color(.systemGray5))
112113
} else {
113114
shape
114115
.fill(color)

0 commit comments

Comments
 (0)