mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
Convert UploadBaseFragment to kotlin
This commit is contained in:
parent
e830ee2dc8
commit
d314c56211
1 changed files with 2 additions and 3 deletions
|
|
@ -220,7 +220,7 @@ class UploadCategoriesFragment : UploadBaseFragment(), CategoriesContract.View {
|
|||
}
|
||||
|
||||
override fun goToNextScreen() {
|
||||
callback?.let { it.onNextButtonClicked(it.getIndexInViewFlipper(this)) }
|
||||
callback.let { it.onNextButtonClicked(it.getIndexInViewFlipper(this)) }
|
||||
}
|
||||
|
||||
override fun showNoCategorySelected() {
|
||||
|
|
@ -322,8 +322,7 @@ class UploadCategoriesFragment : UploadBaseFragment(), CategoriesContract.View {
|
|||
mediaDetailFragment.onResume()
|
||||
goBackToPreviousScreen()
|
||||
} else {
|
||||
callback?.let { it.onPreviousButtonClicked(it.getIndexInViewFlipper(this)) }
|
||||
|
||||
callback.let { it.onPreviousButtonClicked(it.getIndexInViewFlipper(this)) }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue