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
parent 1072c5a384
commit 9a5fabfee5

View File

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