검색 UI 추가
This commit is contained in:
		@@ -10,6 +10,8 @@ import SwiftUI
 | 
			
		||||
struct UserProfileView: View {
 | 
			
		||||
    
 | 
			
		||||
    let userId: Int
 | 
			
		||||
    
 | 
			
		||||
    @Environment(\.presentationMode) var presentationMode: Binding<PresentationMode>
 | 
			
		||||
    @StateObject var viewModel = UserProfileViewModel()
 | 
			
		||||
    
 | 
			
		||||
    @State private var memberId: Int = 0
 | 
			
		||||
@@ -24,7 +26,11 @@ struct UserProfileView: View {
 | 
			
		||||
                VStack(spacing: 0) {
 | 
			
		||||
                    HStack(spacing: 0) {
 | 
			
		||||
                        Button {
 | 
			
		||||
                            AppState.shared.back()
 | 
			
		||||
                            if presentationMode.wrappedValue.isPresented {
 | 
			
		||||
                                presentationMode.wrappedValue.dismiss()
 | 
			
		||||
                            } else {
 | 
			
		||||
                                AppState.shared.back()
 | 
			
		||||
                            }
 | 
			
		||||
                        } label: {
 | 
			
		||||
                            Image("ic_back")
 | 
			
		||||
                                .resizable()
 | 
			
		||||
@@ -250,6 +256,8 @@ struct UserProfileView: View {
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                .navigationTitle("")
 | 
			
		||||
                .navigationBarBackButtonHidden()
 | 
			
		||||
                .popup(isPresented: $viewModel.isShowPopup, type: .toast, position: .bottom, autohideIn: 2) {
 | 
			
		||||
                    HStack {
 | 
			
		||||
                        Spacer()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user