mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:11:45 +00:00
Allow the Chats title to shrink when filtering on a space with a long name.
This commit is contained in:
@@ -67,6 +67,7 @@ struct HomeScreen: View {
|
|||||||
Text(title)
|
Text(title)
|
||||||
.font(isInSidebar ? .compound.bodyLGSemibold : .compound.headingLGBold)
|
.font(isInSidebar ? .compound.bodyLGSemibold : .compound.headingLGBold)
|
||||||
.foregroundStyle(.compound.textPrimary)
|
.foregroundStyle(.compound.textPrimary)
|
||||||
|
.minimumScaleFactor(isInSidebar ? 1 : 0.6) // Allow scaling down to bodyLG if needed.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user