Skip to content

Commit 4661345

Browse files
chore: remove authViewRoutes as can access navigator directly
1 parent 29840d4 commit 4661345

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Services/AuthService.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,11 @@ public final class AuthService {
123123
public let auth: Auth
124124
public var isPresented: Bool = false
125125
public private(set) var navigator = Navigator()
126+
126127
public var authView: AuthView? {
127128
navigator.routes.last
128129
}
129130

130-
var authViewRoutes: [AuthView] {
131-
navigator.routes
132-
}
133-
134131
public let string: StringUtils
135132
public var currentUser: User?
136133
public var authenticationState: AuthenticationState = .unauthenticated

0 commit comments

Comments
 (0)