Fix tests.

This commit is contained in:
Doug
2022-02-04 17:46:27 +00:00
parent f50a92d0a8
commit 0624efaa20
5 changed files with 23 additions and 9 deletions
@@ -20,7 +20,7 @@ import SwiftUI
/// A `Button`, that fakes having a tappable string inside of a regular string.
struct InlineTextButton: View {
struct StringComponent {
private struct StringComponent {
let string: Substring
let isTinted: Bool
}
@@ -66,7 +66,7 @@ struct InlineTextButton: View {
.accessibilityLabel(components.map { $0.string }.joined())
}
struct Style: ButtonStyle {
private struct Style: ButtonStyle {
let components: [StringComponent]
func makeBody(configuration: Configuration) -> some View {