1
0
mirror of https://gitlab.shinice.net/pixeldroid/PixelDroid synced 2025-01-31 07:44:49 +01:00

Make carousel indicator count correctly

This commit is contained in:
Matthieu 2022-10-31 00:17:58 +01:00
parent b36fadd76c
commit 214ba98bc4

View File

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