Skip to content

Commit

Permalink
Merge pull request #109 from DeveloperAcademy-POSTECH/105-refcode-ref…
Browse files Browse the repository at this point in the history
…actoring

[REF/#105]homeview formatting
  • Loading branch information
HappyDoran authored May 24, 2024
2 parents 8b7d16d + 9416a50 commit deeee67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DDooing/DDooing/Views/Home/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ struct HomeView: View {
.contextMenu(menuItems: {
ForEach(messages) { mess in
if mess.isStarred {
Button (action: {}, label: {
Button (action: {
sendMessage(messageText: mess.message, isStarred: true)
}, label: {
Text(mess.message)
})
}}
Expand Down

0 comments on commit deeee67

Please sign in to comment.