diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt b/app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt index e5fd1cf332..3a5643c358 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt +++ b/app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt @@ -183,7 +183,7 @@ class GalleryAdapter( ) } - //Set Image/Video List According to Selection of Hide/Show Image/Video + // Set Image/Video List According to Selection of Hide/Show Image/Video @SuppressLint("NotifyDataSetChanged") fun setMediaFilter( mediaObject: List, diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragmentBottomSheetActions.kt b/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragmentBottomSheetActions.kt index 3efe2c18a9..777b3e9f37 100644 --- a/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragmentBottomSheetActions.kt +++ b/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragmentBottomSheetActions.kt @@ -31,4 +31,4 @@ interface GalleryFragmentBottomSheetActions { * load all media of a particular folder. */ fun selectMediaFolder() -} \ No newline at end of file +} diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragmentBottomSheetDialog.kt b/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragmentBottomSheetDialog.kt index 3c88d1ee8b..d1fb2f84bb 100644 --- a/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragmentBottomSheetDialog.kt +++ b/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragmentBottomSheetDialog.kt @@ -33,10 +33,10 @@ class GalleryFragmentBottomSheetDialog( ) : BottomSheetDialogFragment() { private lateinit var binding: FragmentGalleryBottomSheetBinding private lateinit var mBottomBehavior: BottomSheetBehavior<*> - private var currentMediaState : MediaState = MediaState.MEDIA_STATE_DEFAULT + private var currentMediaState: MediaState = MediaState.MEDIA_STATE_DEFAULT override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { - binding = FragmentGalleryBottomSheetBinding.inflate(layoutInflater,container, false) + binding = FragmentGalleryBottomSheetBinding.inflate(layoutInflater, container, false) return binding.root } @@ -102,9 +102,9 @@ class GalleryFragmentBottomSheetDialog( val currMediaState: MediaState get() = currentMediaState - enum class MediaState{ + enum class MediaState { MEDIA_STATE_DEFAULT, MEDIA_STATE_PHOTOS_ONLY, MEDIA_STATE_VIDEOS_ONLY } -} \ No newline at end of file +}