Fixing whitespace and adding tasks.
This commit is contained in:
@@ -16,7 +16,9 @@ struct EditLanguages: View {
|
||||
MCTextField(
|
||||
label: "Understands But",
|
||||
value: $viewModel.understandsBut)
|
||||
|
||||
MCStepperField(label: "Telepathy", prefix: "", step: 5, suffix: " ft.", value: $viewModel.telepathy)
|
||||
|
||||
ForEach(sortedLanguages/*viewModel.languages*/) { language in
|
||||
NavigationLink(language.name, destination: EditLanguage(viewModel: language))
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ struct EditSavingThrows: View {
|
||||
|
||||
var body: some View {
|
||||
List {
|
||||
// TODO: Add a version of this layout for wider screens where these VStacks with HStacks
|
||||
VStack {
|
||||
MCAdvantagePicker(
|
||||
label: "Strength Advantage",
|
||||
|
||||
@@ -21,6 +21,7 @@ struct EditSkill: View {
|
||||
label: "Ability Score",
|
||||
value: $skillViewModel.abilityScore)
|
||||
|
||||
// TODO: Add a version of this layout for wider screens where these two are in an HStack
|
||||
MCAdvantagePicker(
|
||||
label: "Advantage",
|
||||
value: $skillViewModel.advantage)
|
||||
|
||||
@@ -207,6 +207,7 @@ struct MonsterDetail: View {
|
||||
|
||||
var body: some View {
|
||||
ScrollView {
|
||||
// TODO: Consider adding an inmage here at the top
|
||||
VStack (alignment: .leading) {
|
||||
let monsterLanguagesDescription = monster.languagesDescription
|
||||
let monsterChallengeRatingDescription = monster.challengeRatingDescription
|
||||
|
||||
Reference in New Issue
Block a user