mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
fix closure compilation error
This commit is contained in:
1 file changed
+3
-3
@@ -97,10 +97,10 @@ struct EmojiPackDetailView: View {
|
||||
}
|
||||
}
|
||||
.sheet(isPresented: $showAdder) {
|
||||
SearchView(hoarder: hoarder, fromPackEditor: true) {
|
||||
print($0)
|
||||
SearchView(hoarder: hoarder, fromPackEditor: true) { selection in
|
||||
print(selection)
|
||||
withAnimation {
|
||||
pack.emojiNames.append($0)
|
||||
pack.emojiNames.append(selection)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||