fix(live): 라이브룸 전역 표시를 보정한다

This commit is contained in:
Yu Sung
2026-07-14 17:42:05 +09:00
parent dec6fb6fb8
commit 1b26bc28dd
6 changed files with 295 additions and 63 deletions

View File

@@ -73,6 +73,33 @@ struct ContentView: View {
}
}
}
.overlay {
ZStack {
if appState.isShowPlayer {
LiveRoomViewV2()
}
if appState.isShowLeaveLiveNavigationDialog {
leaveLiveNavigationDialog
}
}
}
}
private var leaveLiveNavigationDialog: some View {
SodaV2ActionModal(
title: I18n.Common.alertTitle,
message: I18n.LiveRoom.leaveLiveForNavigationDesc,
button1: SodaV2ActionModalButton(
label: I18n.Common.confirm,
action: appState.confirmExternalNavigation
),
button2: SodaV2ActionModalButton(
label: I18n.Common.cancel,
action: appState.cancelExternalNavigation
),
onDimmedTap: appState.cancelExternalNavigation
)
}
}