Compare commits

...

1 Commits

Author SHA1 Message Date
5bf5402919 Fix side menu label size so that translations in longer languages fit without wrapping
Changelog-Fixed: Fix side menu label size so that translations in longer languages fit without wrapping
2023-05-26 00:13:36 -04:00

View File

@@ -57,6 +57,7 @@ struct SideMenuView: View {
.font(.title2)
.foregroundColor(textColor())
.frame(maxWidth: .infinity, alignment: .leading)
.dynamicTypeSize(.xSmall)
}
}
@@ -144,6 +145,7 @@ struct SideMenuView: View {
.font(.title3)
.foregroundColor(textColor())
.frame(maxWidth: .infinity, alignment: .leading)
.dynamicTypeSize(.xSmall)
})
Spacer()
@@ -154,6 +156,7 @@ struct SideMenuView: View {
Label("", systemImage: "qrcode")
.font(.title)
.foregroundColor(textColor())
.dynamicTypeSize(.xSmall)
}).fullScreenCover(isPresented: $showQRCode) {
QRCodeView(damus_state: damus_state, pubkey: damus_state.pubkey)
}
@@ -188,6 +191,7 @@ struct SideMenuView: View {
.font(.title2)
.foregroundColor(textColor())
.frame(maxWidth: .infinity, alignment: .leading)
.dynamicTypeSize(.xSmall)
}
struct SideMenuLabelStyle: LabelStyle {