Better iPad / macOS sidebar close #614

This commit is contained in:
Thomas Ricouard 2023-02-10 12:53:59 +01:00
parent 2083f72b2b
commit 06120974fa
1 changed files with 2 additions and 3 deletions

View File

@ -152,9 +152,8 @@ private struct SideBarIcon: View {
var body: some View {
Image(systemName: systemIconName)
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 24, height: 24)
.font(.title2)
.fontWeight(.medium)
.foregroundColor(isSelected ? theme.tintColor : theme.labelColor)
.scaleEffect(isHovered ? 0.8 : 1.0)
.onHover { isHovered in