feat(live): 라이브 방 뷰가 표시될 때 홈 뷰의 최상단 레이어에 표시되면서 최대한 다른 창의 간섭을 줄여 터치가 되지 않던 버그 수정
This commit is contained in:
@@ -821,8 +821,6 @@ final class LiveRoomViewModel: NSObject, ObservableObject {
|
|||||||
)
|
)
|
||||||
|
|
||||||
self.agora.sendRawMessageToGroup(rawMessage: editRoomInfoMessage)
|
self.agora.sendRawMessageToGroup(rawMessage: editRoomInfoMessage)
|
||||||
self.errorMessage = "라이브 정보가 수정되었습니다."
|
|
||||||
self.isShowErrorPopup = true
|
|
||||||
} else {
|
} else {
|
||||||
self.errorMessage = decoded.message ?? "라이브 정보를 수정하지 못했습니다.\n다시 시도해 주세요."
|
self.errorMessage = decoded.message ?? "라이브 정보를 수정하지 못했습니다.\n다시 시도해 주세요."
|
||||||
self.isShowErrorPopup = true
|
self.isShowErrorPopup = true
|
||||||
|
|||||||
@@ -178,10 +178,6 @@ struct HomeView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if appState.isShowPlayer {
|
|
||||||
LiveRoomViewV2()
|
|
||||||
}
|
|
||||||
|
|
||||||
if appState.isShowNotificationSettingsDialog {
|
if appState.isShowNotificationSettingsDialog {
|
||||||
NotificationSettingsDialog()
|
NotificationSettingsDialog()
|
||||||
}
|
}
|
||||||
@@ -229,6 +225,10 @@ struct HomeView: View {
|
|||||||
if isShowPlayer {
|
if isShowPlayer {
|
||||||
ContentPlayerView(isShowing: $isShowPlayer, playlist: [])
|
ContentPlayerView(isShowing: $isShowPlayer, playlist: [])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if appState.isShowPlayer {
|
||||||
|
LiveRoomViewV2()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.edgesIgnoringSafeArea(.bottom)
|
.edgesIgnoringSafeArea(.bottom)
|
||||||
.valueChanged(value: appState.pushRoomId) { value in
|
.valueChanged(value: appState.pushRoomId) { value in
|
||||||
|
|||||||
Reference in New Issue
Block a user