mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Code formatting via KtLint
This commit is contained in:
parent
4d3d9297e9
commit
4512af4327
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>,
|
||||
|
|
|
@ -31,4 +31,4 @@ interface GalleryFragmentBottomSheetActions {
|
|||
* load all media of a particular folder.
|
||||
*/
|
||||
fun selectMediaFolder()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue