mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 12:28:29 +00:00
Periphery cleanup (#5893)
This commit is contained in:
@@ -78,7 +78,9 @@ struct MessageText: UIViewRepresentable {
|
||||
/// Cache key for `sizeThatFits`. Keyed on the reserved trailing size as well as the proposed
|
||||
/// width to account for any changes on the send info label that happen after the first rendering.
|
||||
private struct SizeCacheKey: Hashable {
|
||||
// periphery:ignore - used via the synthesized Hashable conformance
|
||||
let width: Double
|
||||
// periphery:ignore - used via the synthesized Hashable conformance
|
||||
let reservedSize: CGSize
|
||||
}
|
||||
|
||||
|
||||
@@ -48,8 +48,6 @@ struct PillView: View {
|
||||
}
|
||||
|
||||
struct PillView_Previews: PreviewProvider, TestablePreview {
|
||||
static let mockMediaProvider = MediaProviderMock(.init())
|
||||
|
||||
static var previews: some View {
|
||||
PillView(context: PillContext.mock(viewState: .mention(isOwnMention: false,
|
||||
displayText: PillUtilities.userPillDisplayText(username: "User",
|
||||
|
||||
Reference in New Issue
Block a user