mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 12:18:48 +03:00
Small renaming of navigator method
This commit is contained in:
parent
c3d359e58f
commit
7eab37e9d1
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ class RenameSessionFragment :
|
|||
viewModel.observeViewEvents {
|
||||
when (it) {
|
||||
is RenameSessionViewEvent.SessionRenamed -> {
|
||||
viewNavigator.navigateBack(requireActivity())
|
||||
viewNavigator.goBack(requireActivity())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue