Skip to content

Commit 06919b7

Browse files
JeremiahandsomeAbySwifter
authored andcommitted
【TUILiveKit】【iOS】Exit battle when ending the live stream
1 parent 760c8c8 commit 06919b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

iOS/TUILiveKit/Sources/LiveStream/Main/View/Anchor/LivingView/AnchorLivingView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ extension AnchorLivingView {
340340
designConfig.lineColor = .g8
341341
let endLiveItem = ActionItem(title: .confirmCloseText, designConfig: designConfig, actionClosure: { [weak self] _ in
342342
guard let self = self else { return }
343+
self.exitBattle()
343344
self.showEndView()
344345
self.routerManager.router(action: .dismiss())
345346
})

0 commit comments

Comments
 (0)