mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add dynamic type boundaries
This commit is contained in:
parent
1f8f5f33ca
commit
445600cd3a
2 changed files with 3 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ import Views
|
|||
)
|
||||
#endif
|
||||
}
|
||||
.dynamicTypeSize(.small ... .large)
|
||||
.listStyle(.sidebar)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ public struct LibraryItemCard: View {
|
|||
}
|
||||
.padding(.bottom, 5)
|
||||
.draggableItem(item: item)
|
||||
.dynamicTypeSize(.xSmall ... .accessibility1)
|
||||
}
|
||||
|
||||
var isFullyRead: Bool {
|
||||
|
|
@ -192,6 +193,7 @@ public struct LibraryItemCard: View {
|
|||
public var articleInfo: some View {
|
||||
VStack(alignment: .leading, spacing: 5) {
|
||||
readInfo
|
||||
.dynamicTypeSize(.xSmall ... .medium)
|
||||
|
||||
Text(item.unwrappedTitle)
|
||||
.font(.body).fontWeight(.semibold)
|
||||
|
|
|
|||
Loading…
Reference in a new issue