라이브 방 - 최상단 VStack을 LazyVStack으로 변경하여 버튼이 안눌리던 버그 수정
This commit is contained in:
@@ -32,7 +32,7 @@ struct LiveRoomView: View {
|
|||||||
Color.black.edgesIgnoringSafeArea(.all)
|
Color.black.edgesIgnoringSafeArea(.all)
|
||||||
|
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
VStack(alignment: .leading, spacing: 0) {
|
LazyVStack(alignment: .leading, spacing: 0) {
|
||||||
HStack(spacing: 6.7) {
|
HStack(spacing: 6.7) {
|
||||||
Text(
|
Text(
|
||||||
UserDefaults.int(forKey: .userId) == viewModel.liveRoomInfo?.creatorId ?
|
UserDefaults.int(forKey: .userId) == viewModel.liveRoomInfo?.creatorId ?
|
||||||
@@ -276,8 +276,8 @@ struct LiveRoomView: View {
|
|||||||
ZStack(alignment: .top) {
|
ZStack(alignment: .top) {
|
||||||
ScrollViewReader { proxy in
|
ScrollViewReader { proxy in
|
||||||
ZStack(alignment: .bottomTrailing) {
|
ZStack(alignment: .bottomTrailing) {
|
||||||
if let liveRoomInfo = viewModel.liveRoomInfo, viewModel.isBgOn {
|
GeometryReader { proxy in
|
||||||
GeometryReader { proxy in
|
if let liveRoomInfo = viewModel.liveRoomInfo, viewModel.isBgOn {
|
||||||
KFImage(URL(string: liveRoomInfo.coverImageUrl))
|
KFImage(URL(string: liveRoomInfo.coverImageUrl))
|
||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFill()
|
.scaledToFill()
|
||||||
|
Reference in New Issue
Block a user