Fix default alignment swiftlint offense

This commit is contained in:
Arkadiusz Fal
2022-11-25 19:31:48 +01:00
parent 84e50ddd25
commit 53620c4d35
14 changed files with 17 additions and 17 deletions

View File

@@ -39,7 +39,7 @@ struct AccountForm: View {
}
var header: some View {
HStack(alignment: .center) {
HStack {
Text("Add Account")
.font(.title2.bold())

View File

@@ -41,7 +41,7 @@ struct InstanceForm: View {
}
private var header: some View {
HStack(alignment: .center) {
HStack {
Text("Add Location")
.font(.title2.bold())
@@ -84,7 +84,7 @@ struct InstanceForm: View {
}
private var footer: some View {
HStack(alignment: .center) {
HStack {
AccountValidationStatus(
app: $app,
isValid: $isValid,

View File

@@ -53,7 +53,7 @@ struct QualityProfileForm: View {
}
var header: some View {
HStack(alignment: .center) {
HStack {
Text(editing ? "Edit Quality Profile" : "Add Quality Profile")
.font(.title2.bold())