Skip to content

Commit

Permalink
Making current screen in navigator public
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaal111 committed Mar 24, 2024
1 parent 3606374 commit bb13263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KamaalNavigation/Models/Navigator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public final class Navigator<StackValue: NavigatorStackValue>: ObservableObject
self.currentStack = initialStack
}

var currentScreen: StackValue? {
public var currentScreen: StackValue? {
self.stacks[self.currentStack]?.last
}

Expand Down

0 comments on commit bb13263

Please sign in to comment.