diff --git a/PayfritWorks/Views/TaskDetailScreen.swift b/PayfritWorks/Views/TaskDetailScreen.swift index 552119d..90ae7a9 100644 --- a/PayfritWorks/Views/TaskDetailScreen.swift +++ b/PayfritWorks/Views/TaskDetailScreen.swift @@ -267,6 +267,18 @@ struct TaskDetailScreen: View { Spacer() + // Chat button for chat tasks + if task.isChat { + Button { showingChat = true } label: { + Image(systemName: "bubble.left.and.bubble.right.fill") + .foregroundColor(.white) + .font(.title2) + .padding(10) + .background(Color.white.opacity(0.2)) + .clipShape(Circle()) + } + } + if !d.customerPhone.isEmpty { Button { callCustomer(d.customerPhone) } label: { Image(systemName: "phone.fill")