Fix some warnings & recreate lint-baseline.xml (#4278)
This commit is contained in:
parent
c666a6b534
commit
6249b53718
16 changed files with 119 additions and 75 deletions
|
|
@ -966,7 +966,7 @@ class ComposeActivity :
|
|||
|
||||
private fun onMediaPick() {
|
||||
addMediaBehavior.addBottomSheetCallback(
|
||||
object : BottomSheetBehavior.BottomSheetCallback() {
|
||||
object : BottomSheetCallback() {
|
||||
override fun onStateChanged(bottomSheet: View, newState: Int) {
|
||||
// Wait until bottom sheet is not collapsed and show next screen after
|
||||
if (newState == BottomSheetBehavior.STATE_COLLAPSED) {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class CaptionDialog : DialogFragment() {
|
|||
inflater: LayoutInflater,
|
||||
container: ViewGroup?,
|
||||
savedInstanceState: Bundle?
|
||||
) = inflater.inflate(R.layout.dialog_image_description, container, false)
|
||||
): View = inflater.inflate(R.layout.dialog_image_description, container, false)
|
||||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
val imageView = binding.imageDescriptionView
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue