Created
March 20, 2024 09:27
-
-
Save mezhevikin/b8b1e357eb9f66824e95299dfa59b113 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fieldsView: some View { | |
VStack(spacing: .padding) { | |
ForEach(state.converter.fields.prefix(state.props.countOfFields)) { field in | |
HStack(spacing: .padding) { | |
CurrencyButton(field: field) | |
ConverterFieldView(field: field) | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment