Merge branch 'carousel_indicator_fix' into 'master'

Carousel indicator fix

See merge request pixeldroid/PixelDroid!494
This commit is contained in:
Matthieu 2022-10-30 23:18:12 +00:00
commit e2ee562841
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,6 @@ class ImageCarousel(
if(value){ if(value){
recyclerView.layoutManager = CarouselLinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false) recyclerView.layoutManager = CarouselLinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false)
showNavigationButtons = showNavigationButtons showNavigationButtons = showNavigationButtons
binding.editMediaDescriptionLayout.visibility = if(editingMediaDescription) VISIBLE else INVISIBLE binding.editMediaDescriptionLayout.visibility = if(editingMediaDescription) VISIBLE else INVISIBLE
@ -425,6 +424,7 @@ class ImageCarousel(
e.printStackTrace() e.printStackTrace()
} }
} }
initIndicator()
} }