Преглед изворни кода

Remove the placeholder profile avatar from the home screen.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 пре 3 недеља
родитељ
комит
ba840c8596
1 измењених фајлова са 0 додато и 19 уклоњено
  1. 0 19
      clone _of_clarus_ai_chat_bot/Views/MainContentView.swift

+ 0 - 19
clone _of_clarus_ai_chat_bot/Views/MainContentView.swift

@@ -5,10 +5,6 @@ struct MainContentView: View {
 
     var body: some View {
         VStack(spacing: 0) {
-            profileHeader
-                .padding(.horizontal, 32)
-                .padding(.top, 8)
-
             Spacer(minLength: 20)
 
             welcomeSection
@@ -28,21 +24,6 @@ struct MainContentView: View {
         .background(AppTheme.pageBackground)
     }
 
-    private var profileHeader: some View {
-        HStack {
-            Spacer()
-            Circle()
-                .fill(AppTheme.avatarBackground)
-                .frame(width: 40, height: 40)
-                .overlay {
-                    Text("JD")
-                        .font(.system(size: 14, weight: .semibold))
-                        .foregroundStyle(AppTheme.textPrimary)
-                }
-                .accessibilityLabel("User profile")
-        }
-    }
-
     private var welcomeSection: some View {
         VStack(spacing: 10) {
             Image(systemName: "sparkles")