feat(chat-character): 신규 캐릭터 전체보기 화면 및 API 연동 추가
This commit is contained in:
		@@ -17,6 +17,8 @@ struct CharacterDetailView: View {
 | 
			
		||||
    @State private var showMoreWorldView = false
 | 
			
		||||
    @State private var showMorePersonality = false
 | 
			
		||||
    
 | 
			
		||||
    @Environment(\.presentationMode) var presentationMode: Binding<PresentationMode>
 | 
			
		||||
    
 | 
			
		||||
    private enum InnerTab: Int, CaseIterable {
 | 
			
		||||
        case detail = 0
 | 
			
		||||
        case gallery = 1
 | 
			
		||||
@@ -32,7 +34,13 @@ struct CharacterDetailView: View {
 | 
			
		||||
    var body: some View {
 | 
			
		||||
        BaseView(isLoading: $viewModel.isLoading) {
 | 
			
		||||
            VStack(spacing: 0) {
 | 
			
		||||
                DetailNavigationBar(title: "캐릭터 정보")
 | 
			
		||||
                DetailNavigationBar(title: "캐릭터 정보") {
 | 
			
		||||
                    if presentationMode.wrappedValue.isPresented {
 | 
			
		||||
                        presentationMode.wrappedValue.dismiss()
 | 
			
		||||
                    } else {
 | 
			
		||||
                        AppState.shared.back()
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                
 | 
			
		||||
                tabBar
 | 
			
		||||
                
 | 
			
		||||
@@ -121,6 +129,8 @@ struct CharacterDetailView: View {
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            .navigationTitle("")
 | 
			
		||||
            .navigationBarBackButtonHidden()
 | 
			
		||||
            .popup(isPresented: $viewModel.isShowPopup, type: .toast, position: .top, autohideIn: 2) {
 | 
			
		||||
                GeometryReader { geo in
 | 
			
		||||
                    HStack {
 | 
			
		||||
@@ -368,7 +378,7 @@ extension CharacterDetailView {
 | 
			
		||||
                }
 | 
			
		||||
                
 | 
			
		||||
                Text("""
 | 
			
		||||
보이스온의 오픈월드 캐릭터톡으로 대화의 자유도가 높아 대화에 참여하는 당신은 누구든 될 수 있습니다. 세계관 속 연관 캐릭터가 되어 대화를 하거나 완전히 새로운 인물이 되어 캐릭터와 당신만의 스토리를 만들어 갈 수 있습니다.
 | 
			
		||||
보이스온의 오픈월드 캐릭터톡은 대화의 자유도가 높아 대화에 참여하는 당신은 누구든 될 수 있습니다. 세계관 속 연관 캐릭터가 되어 대화를 하거나 완전히 새로운 인물이 되어 캐릭터와 당신만의 스토리를 만들어 갈 수 있습니다.
 | 
			
		||||
""")
 | 
			
		||||
                .font(.custom(Font.preRegular.rawValue, size: 16))
 | 
			
		||||
                .foregroundColor(Color(hex: "AEAEB2"))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user