Fix visual of EmptyWorld.swift
This commit is contained in:
1 parent
a53bb8870b
commit
1311f3127e
3 files changed
+5
-2
No files matched your search
@@ -33,7 +33,8 @@ struct EmptyWorldView : View {
|
||||
|
||||
CreateWorldButtonView()
|
||||
}
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(.vertical, 50)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,5 +23,6 @@ struct WorldListHeaderView : View {
|
||||
|
||||
}
|
||||
.padding(.vertical, 50)
|
||||
.padding(.horizontal, 10)
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@ struct WorldListView: View {
|
||||
private var worlds: [World]
|
||||
|
||||
var body: some View {
|
||||
VStack{
|
||||
VStack(alignment: .leading, spacing: 24){
|
||||
WorldListHeaderView(worlds: worlds)
|
||||
|
||||
if worlds.isEmpty {
|
||||
@@ -31,5 +31,6 @@ struct WorldListView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.frame(maxHeight: .infinity, alignment: .topLeading)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user