mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Sign in required fixes
This commit is contained in:
parent
2e3454a18f
commit
eae04c9382
@ -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()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user