Skip to content

Commit

Permalink
Use viewLifecycleOwner
Browse files Browse the repository at this point in the history
  • Loading branch information
gino-m committed Mar 1, 2024
1 parent c3d3279 commit 43ac294
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class HomeScreenMapContainerFragment : AbstractMapContainerFragment() {
super.onViewCreated(view, savedInstanceState)
setupMenuFab()
setupBottomLoiCards()
lifecycleScope.launch { showDataCollectionHint() }
viewLifecycleOwner.lifecycleScope.launch { showDataCollectionHint() }
}

/**
Expand Down

0 comments on commit 43ac294

Please sign in to comment.