Skip to content

Commit e880ec3

Browse files
author
Mark Pospesel
committed
.largeTitle not available on tvOS
1 parent ed02e32 commit e880ec3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/YCoreUITests/Protocols/SystemImageTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ final class SystemImageTests: XCTestCase {
4444
}
4545

4646
func test_customImageScaling() {
47-
XCTAssertEqual(SymbolCustomScaling.textStyle, .largeTitle)
48-
XCTAssertEqual(SymbolCustomScaling.configuration, UIImage.SymbolConfiguration(textStyle: .largeTitle))
47+
XCTAssertEqual(SymbolCustomScaling.textStyle, .title1)
48+
XCTAssertEqual(SymbolCustomScaling.configuration, UIImage.SymbolConfiguration(textStyle: .title1))
4949
}
5050

5151
func test_systemImage_deliversDefaultFallback() {
@@ -82,7 +82,7 @@ extension SystemImageTests {
8282
}
8383

8484
enum SymbolCustomScaling: String, CaseIterable, SystemImage {
85-
static var textStyle: UIFont.TextStyle? { .largeTitle }
85+
static var textStyle: UIFont.TextStyle? { .title1 }
8686

8787
case checked = "checkmark.square"
8888
}

0 commit comments

Comments
 (0)