mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 22:03:55 +01:00
refactor: fix indentation in the code
This commit is contained in:
parent
2216e177de
commit
8af59a7cee
1 changed files with 4 additions and 3 deletions
|
|
@ -216,14 +216,15 @@ class ImageFragment :
|
|||
switch = binding?.switchWidget
|
||||
switch?.visibility = View.VISIBLE
|
||||
switch?.setOnCheckedChangeListener { _, isChecked -> onChangeSwitchState(isChecked) }
|
||||
|
||||
imageAdapter.currentImagesCountLiveData.observe(viewLifecycleOwner, Observer {
|
||||
if(switch!= null && switch?.isChecked == false && it==0&& switch?.isVisible==true) {
|
||||
if (switch?.isChecked == false && it == 0 && switch?.isVisible == true) {
|
||||
binding?.allImagesUploadedOrMarked?.isVisible = true
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
binding?.allImagesUploadedOrMarked?.isVisible = false
|
||||
}
|
||||
})
|
||||
|
||||
selectorRV = binding?.selectorRv
|
||||
loader = binding?.loader
|
||||
progressLayout = binding?.progressLayout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue