mirror of
https://github.com/yattee/yattee.git
synced 2024-12-14 14:20:32 +05:30
Fix sign in required view text layout
This commit is contained in:
parent
77381b2dd8
commit
05f1c0b6c8
@ -54,7 +54,7 @@ struct SignInRequiredView<Content: View>: View {
|
||||
OpenSettingsButton()
|
||||
#endif
|
||||
}
|
||||
.frame(minWidth: 0, maxWidth: .infinity, alignment: .center)
|
||||
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity, alignment: .center)
|
||||
}
|
||||
}
|
||||
|
||||
@ -65,7 +65,6 @@ struct SignInRequiredView_Previews: PreviewProvider {
|
||||
Text("Only when signed in")
|
||||
}
|
||||
}
|
||||
.environmentObject(PlayerModel())
|
||||
.environmentObject(InvidiousAPI())
|
||||
.injectFixtureEnvironmentObjects()
|
||||
}
|
||||
}
|
||||
|
@ -79,3 +79,10 @@ struct SubscriptionsView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct SubscriptonsView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
SubscriptionsView()
|
||||
.injectFixtureEnvironmentObjects()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user