mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 22:03:55 +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() {
|
override fun goToNextScreen() {
|
||||||
callback?.let { it.onNextButtonClicked(it.getIndexInViewFlipper(this)) }
|
callback.let { it.onNextButtonClicked(it.getIndexInViewFlipper(this)) }
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun showNoCategorySelected() {
|
override fun showNoCategorySelected() {
|
||||||
|
|
@ -322,8 +322,7 @@ class UploadCategoriesFragment : UploadBaseFragment(), CategoriesContract.View {
|
||||||
mediaDetailFragment.onResume()
|
mediaDetailFragment.onResume()
|
||||||
goBackToPreviousScreen()
|
goBackToPreviousScreen()
|
||||||
} else {
|
} 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