I'm trying to use a Text label to output a string based on a UserDefault setting for what the translation they prefer:
Text(settings.translation? tangoArray[self.id].romaji : tangoArray[self.id].hiragana)
Is there any reason why the above line of code doesn't work, and what small modification do I need to make?
settingconnected in a view hierarchy