fix back button not collapsing action view in extensions

This commit is contained in:
Jays2Kings 2022-05-05 18:24:37 -04:00
parent 7e13556e01
commit aee0287372

View file

@ -360,6 +360,10 @@ class ExtensionBottomSheet @JvmOverloads constructor(context: Context, attrs: At
presenter.deselectSource()
return false
}
if (binding.sheetToolbar.hasExpandedActionView()) {
binding.sheetToolbar.collapseActionView()
return false
}
return true
}