Revert "Sidebar Fixes"

This reverts commit 6653798d27.
This commit is contained in:
William Casarin
2023-02-13 16:51:13 -08:00
parent 70a7239cfd
commit 98c7bf5afc
2 changed files with 40 additions and 50 deletions

View File

@@ -166,13 +166,8 @@ struct SideMenuView: View {
@ViewBuilder
func navLabel(title: String, systemImage: String) -> some View {
Label {
Text(title)
.font(.title2)
} icon: {
Image(systemName: systemImage)
.frame(width:20)
}
Label(title, systemImage: systemImage)
.font(.title2)
.foregroundColor(textColor())
.frame(maxWidth: .infinity, alignment: .leading)
}