Skip to content

Commit f0b5382

Browse files
authored
feat: 뒷 색 추가 + 터치 이벤트 막기 (#93)
1 parent 423746b commit f0b5382

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

DevLog/UI/Common/Componeent/LoadingView.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ import SwiftUI
1010
struct LoadingView: View {
1111
var body: some View {
1212
ZStack {
13+
Color.black.opacity(0.25).ignoresSafeArea()
1314
ProgressView()
1415
}
16+
.allowsHitTesting(true)
1517
.frame(maxWidth: .infinity, maxHeight: .infinity)
1618
}
1719
}
18-
19-
#Preview {
20-
LoadingView()
21-
}

0 commit comments

Comments
 (0)