2.5.0 #10
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user