Skip to content

Commit

Permalink
Always call notifyInteraction on navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Dec 6, 2024
1 parent f37036f commit c62c051
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ class MainActivity : FragmentActivity() {
}

private fun handleNavigationAction(action: NavigationAction) {
screensaverViewModel.notifyInteraction(true)

when (action) {
// DestinationFragmentView actions
is NavigationAction.NavigateFragment -> binding.contentView.navigate(action)
Expand Down

0 comments on commit c62c051

Please sign in to comment.