synopsis -> paragraph
The name of the function has been changed so it reflects the style being used
This commit is contained in:
parent
18d880e2ea
commit
6528309245
|
@ -70,7 +70,7 @@ struct OnboardingContentView: View {
|
||||||
}
|
}
|
||||||
|
|
||||||
Text(viewStore.steps[stepIndex].description)
|
Text(viewStore.steps[stepIndex].description)
|
||||||
.synopsisText()
|
.paragraphText()
|
||||||
.lineSpacing(2)
|
.lineSpacing(2)
|
||||||
.opacity(0.53)
|
.opacity(0.53)
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ extension Text {
|
||||||
self.modifier(TitleTextStyle())
|
self.modifier(TitleTextStyle())
|
||||||
}
|
}
|
||||||
|
|
||||||
func synopsisText() -> some View {
|
func paragraphText() -> some View {
|
||||||
self.modifier(ParagraphStyle())
|
self.modifier(ParagraphStyle())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue