mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 20:54: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) {
|
.sheet(isPresented: $showAdder) {
|
||||||
SearchView(hoarder: hoarder, fromPackEditor: true) {
|
SearchView(hoarder: hoarder, fromPackEditor: true) { selection in
|
||||||
print($0)
|
print(selection)
|
||||||
withAnimation {
|
withAnimation {
|
||||||
pack.emojiNames.append($0)
|
pack.emojiNames.append(selection)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||