Skip to content

Commit

Permalink
Updated condition checking for home navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
darrellcolehill committed Jun 5, 2024
1 parent 3761a05 commit a55ef1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class NarrationViewModel : ViewModel() {
}

subscribe<NavigationRequestEvent>() {
if (it.view == find<HomePage2>() && pluginOpenedProperty.value) {
if (it.view is HomePage2 && pluginOpenedProperty.value) {
navigator.navigateHomeOnPluginClosed = true
fire(PluginCloseRequestEvent)
}
Expand Down

0 comments on commit a55ef1b

Please sign in to comment.