diff --git a/oAI/Views/Main/SidebarView.swift b/oAI/Views/Main/SidebarView.swift index 93b3534..5fcfe72 100644 --- a/oAI/Views/Main/SidebarView.swift +++ b/oAI/Views/Main/SidebarView.swift @@ -230,7 +230,14 @@ struct SidebarView: View { ? Color.oaiAccent.opacity(0.15) : Color.clear ) - .draggable(conversation.id.uuidString) + .draggable(conversation.id.uuidString) { + Text(conversation.name) + .font(.system(size: 13, weight: .medium)) + .foregroundStyle(.white) + .padding(.horizontal, 10) + .padding(.vertical, 6) + .background(Color.oaiAccent, in: RoundedRectangle(cornerRadius: 6)) + } .swipeActions(edge: .trailing, allowsFullSwipe: false) { Button(role: .destructive) { deleteConversation(conversation) diff --git a/oAI/Views/Screens/ConversationListView.swift b/oAI/Views/Screens/ConversationListView.swift index f3bc95e..9064d30 100644 --- a/oAI/Views/Screens/ConversationListView.swift +++ b/oAI/Views/Screens/ConversationListView.swift @@ -348,7 +348,14 @@ struct ConversationListView: View { : Color.clear ) .id(conversation.id) - .draggable(conversation.id.uuidString) + .draggable(conversation.id.uuidString) { + Text(conversation.name) + .font(.system(size: 13, weight: .medium)) + .foregroundStyle(.white) + .padding(.horizontal, 10) + .padding(.vertical, 6) + .background(Color.oaiAccent, in: RoundedRectangle(cornerRadius: 6)) + } .swipeActions(edge: .trailing, allowsFullSwipe: false) { Button(role: .destructive) { deleteConversation(conversation)