Sign in required fixes

This commit is contained in:
Arkadiusz Fal 2022-12-10 15:51:21 +01:00
parent 2e3454a18f
commit eae04c9382

View File

@ -34,14 +34,15 @@ struct SignInRequiredView<Content: View>: View {
Group {
if instances.isEmpty {
Text("You need to create an instance and accounts\nto access \(title) section")
Text("You need to create an instance and accounts to access \(title) section")
} else {
Text("You need to select an account\nto access \(title) section")
Text("You need to select an account to access \(title) section")
}
}
.multilineTextAlignment(.center)
.foregroundColor(.secondary)
.font(.title3)
.padding(.horizontal, 10)
.padding(.vertical)
#if !os(tvOS)
@ -65,6 +66,5 @@ struct SignInRequiredView_Previews: PreviewProvider {
Text("Only when signed in")
}
}
.injectFixtureEnvironmentObjects()
}
}