Skip to content

Commit 4bd9ecc

Browse files
Jeff Verkoeyenmaterial-automation
authored andcommitted
Upgrade Swift to 5.
PiperOrigin-RevId: 366081670
1 parent ac810a4 commit 4bd9ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/NavigationBar/examples/NavigationBarTypicalUseExample.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class ExampleInstructionsViewNavigationBarTypicalUseSwift: UIView {
159159
instructionsAttributedString.addAttributes(
160160
instructionsDictionary1,
161161
range: NSMakeRange(0, 11))
162-
let endLength = instructionText.characters.count - 11
162+
let endLength = instructionText.count - 11
163163
instructionsAttributedString.addAttributes(
164164
instructionsDictionary2,
165165
range: NSMakeRange(11, endLength))

0 commit comments

Comments
 (0)