Fix SideMenuView text to autoscale and limit to 1 line

Changelog-Fixed: Fixed SideMenuView text to autoscale and limit to 1 line

Signed-off-by: Terry Yiu <git@tyiu.xyz>
This commit is contained in:
2024-12-09 18:36:17 -05:00
committed by Daniel D’Aquino
parent 78066773f4
commit b776788b38

View File

@@ -226,6 +226,8 @@ struct SideMenuView: View {
.foregroundColor(DamusColors.adaptableBlack)
.frame(maxWidth: .infinity, alignment: .leading)
.dynamicTypeSize(.xSmall)
.minimumScaleFactor(0.5)
.lineLimit(1)
}
}
}