mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Code formatting via KtLint
This commit is contained in:
parent
0a6504010a
commit
ab9e31e938
3 changed files with 6 additions and 6 deletions
|
@ -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<OCFile>,
|
||||
|
|
|
@ -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,7 +102,7 @@ class GalleryFragmentBottomSheetDialog(
|
|||
val currMediaState: MediaState
|
||||
get() = currentMediaState
|
||||
|
||||
enum class MediaState{
|
||||
enum class MediaState {
|
||||
MEDIA_STATE_DEFAULT,
|
||||
MEDIA_STATE_PHOTOS_ONLY,
|
||||
MEDIA_STATE_VIDEOS_ONLY
|
||||
|
|
Loading…
Reference in a new issue