From 2ef9dab20f09d4d3b1d8d5b000f6d7c1800d26fc Mon Sep 17 00:00:00 2001 From: Gibran Chevalley Date: Mon, 23 Oct 2023 15:36:56 +0200 Subject: [PATCH] Apply suggestions from code review --- .../main/java/com/infomaniak/drive/ui/menu/GalleryFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/infomaniak/drive/ui/menu/GalleryFragment.kt b/app/src/main/java/com/infomaniak/drive/ui/menu/GalleryFragment.kt index 28ce401246..17dd1e0f95 100644 --- a/app/src/main/java/com/infomaniak/drive/ui/menu/GalleryFragment.kt +++ b/app/src/main/java/com/infomaniak/drive/ui/menu/GalleryFragment.kt @@ -304,7 +304,7 @@ class GalleryFragment : MultiSelectFragment(MATOMO_CATEGORY), NoItemsLayoutView. } fun setScrollbarTrackOffset(offset: Int) { - _binding?.let { it.galleryFastScroller.trackMarginEnd = offset } + _binding?.galleryFastScroller?.trackMarginEnd = offset } companion object {