Avatar
よく考えたらif let string = selectedString {で参照してるselectedStringは実際はself.selectedStringのはずだから、@Stateごしの値の取得になってるはずで最新値が常に反映されそうな気もするなぁ