Small renaming of navigator method

This commit is contained in:
Maxime NATUREL 2022-09-19 16:06:02 +02:00
parent c3d359e58f
commit 7eab37e9d1
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ class RenameSessionFragment :
viewModel.observeViewEvents {
when (it) {
is RenameSessionViewEvent.SessionRenamed -> {
viewNavigator.navigateBack(requireActivity())
viewNavigator.goBack(requireActivity())
}
}
}

View File

@ -22,7 +22,7 @@ import javax.inject.Inject
// TODO add unit tests
class RenameSessionViewNavigator @Inject constructor() {
fun navigateBack(activity: FragmentActivity) {
fun goBack(activity: FragmentActivity) {
activity.finish()
}
}