mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
For #1072: Adds onAttachedToWindow
This commit is contained in:
parent
6dcc026e04
commit
0a449dc12c
@ -210,7 +210,7 @@ class BrowserFragment : Fragment(), BackHandler {
|
|||||||
)
|
)
|
||||||
|
|
||||||
val actionSheet = view.findViewById<QuickActionSheet>(R.id.quick_action_sheet)
|
val actionSheet = view.findViewById<QuickActionSheet>(R.id.quick_action_sheet)
|
||||||
actionSheet.afterInflate()
|
//actionSheet.afterInflate()
|
||||||
|
|
||||||
val actionEmitter = ActionBusFactory.get(this).getManagedEmitter(SearchAction::class.java)
|
val actionEmitter = ActionBusFactory.get(this).getManagedEmitter(SearchAction::class.java)
|
||||||
sessionId?.let { id ->
|
sessionId?.let { id ->
|
||||||
|
@ -31,7 +31,8 @@ class QuickActionSheet @JvmOverloads constructor(
|
|||||||
inflate(getContext(), R.layout.layout_quick_action_sheet, this)
|
inflate(getContext(), R.layout.layout_quick_action_sheet, this)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun afterInflate() {
|
override fun onAttachedToWindow() {
|
||||||
|
super.onAttachedToWindow()
|
||||||
setupHandle()
|
setupHandle()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user