Result values in '? :' expression have mismatching types 'some Gesture'

后端 未结 0 855
旧巷少年郎
旧巷少年郎 2021-02-05 03:51

In my view I have a ZStack with a text in it



Text(emoji.text)
    .gesture(isEmojiSelected(emoji: emoji) ? moveSelectedEmojis() : moveUnselectedEmoji(emoji: emo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题