fix(navigation): 라이브 재생 중 외부 이동을 확인 후 처리한다

This commit is contained in:
Yu Sung
2026-03-06 18:56:49 +09:00
parent 33f9ddfd12
commit cab9795557
5 changed files with 219 additions and 23 deletions

View File

@@ -862,6 +862,9 @@ struct LiveRoomViewV2: View {
waterProgress = 0
}
}
.onReceive(NotificationCenter.default.publisher(for: .requestLiveRoomQuitForExternalNavigation)) { _ in
viewModel.quitRoom()
}
.ignoresSafeArea(.keyboard)
.edgesIgnoringSafeArea(keyboardHandler.keyboardHeight > 0 ? .bottom : .init())
.sheet(