Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend api to log back action #572

Merged
merged 3 commits into from
Jan 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ public bool CanGoBack
}
}

protected IViewModelBase Current
{
get
{
lock (_navigationLock)
{
return _backStack.Current();
}
}
}

protected FrameNavigationConfig? Config { get; private set; }

/// <inheritdoc />
Expand All @@ -66,7 +77,7 @@ public void Initialize(object navigation)
}

/// <inheritdoc />
public void GoBack()
public virtual void GoBack()
{
lock (_navigationLock)
{
Expand Down Expand Up @@ -118,7 +129,7 @@ public virtual void NavigateToViewModel<TViewModel>(
}

/// <inheritdoc />
public void NavigateToFirstPage()
public virtual void NavigateToFirstPage()
{
lock (_navigationLock)
{
Expand Down
Loading