mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix back button not collapsing action view in extensions
This commit is contained in:
parent
7e13556e01
commit
aee0287372
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue