Move home and library titles higher
This commit is contained in:
1 parent
36220e46ea
commit
fad462f5b4
4 files changed
+57
-41
No files matched your search
@@ -146,13 +146,21 @@ private struct TabAccessoryVisibilityBridge: UIViewControllerRepresentable {
|
||||
private struct LibraryTabView: View {
|
||||
var body: some View {
|
||||
NavigationStack {
|
||||
ContentUnavailableView(
|
||||
"Your Library",
|
||||
systemImage: "books.vertical",
|
||||
description: Text("Your saved songs will appear here.")
|
||||
)
|
||||
.navigationTitle("Library")
|
||||
.navigationBarTitleDisplayMode(.large)
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
Text("Library")
|
||||
.font(.system(size: 34, weight: .bold))
|
||||
.padding(.horizontal, 20)
|
||||
.padding(.top, 4)
|
||||
.padding(.bottom, 16)
|
||||
|
||||
ContentUnavailableView(
|
||||
"No Saved Songs",
|
||||
systemImage: "books.vertical",
|
||||
description: Text("Your saved songs will appear here.")
|
||||
)
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
}
|
||||
.toolbar(.hidden, for: .navigationBar)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user