[android-components](../../index.md) / [mozilla.components.feature.p2p.internal](../index.md) / [P2PInteractor](index.md) / [onCloseToolbar](./on-close-toolbar.md)

# onCloseToolbar

`fun onCloseToolbar(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/p2p/src/main/java/mozilla/components/feature/p2p/internal/P2PInteractor.kt#L132)

Overrides [Listener.onCloseToolbar](../../mozilla.components.feature.p2p.view/-p2-p-view/-listener/on-close-toolbar.md)

Handles a request to close the toolbar.

