mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
restoring a test name
This commit is contained in:
@@ -58,7 +58,7 @@ struct PillView_Previews: PreviewProvider, TestablePreview {
|
||||
PillView(imageProvider: mockMediaProvider,
|
||||
context: PillContext.mock(type: .loadedUser(isOwn: true))) { }
|
||||
// To simulate the trimming that happens at UIKit level
|
||||
.frame(maxWidth: PillConstants.maxWidth)
|
||||
.previewDisplayName("Loaded Long Own")
|
||||
PillView(imageProvider: mockMediaProvider,
|
||||
context: PillContext.mock(type: .allUsers)) { }
|
||||
.previewDisplayName("All Users")
|
||||
|
||||
Reference in New Issue
Block a user