From 07b05f569220b164d4a55ee19b33d1b9307feb01 Mon Sep 17 00:00:00 2001 From: Guilherme Leonel Date: Tue, 31 Aug 2021 11:33:23 -0300 Subject: [PATCH] fix: makes public toolbar at StandardAppBarTop --- .../kotlin/com/natura/android/appbartop/StandardAppBarTop.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designsystem/src/main/kotlin/com/natura/android/appbartop/StandardAppBarTop.kt b/designsystem/src/main/kotlin/com/natura/android/appbartop/StandardAppBarTop.kt index 5479f236..67ac2d4d 100644 --- a/designsystem/src/main/kotlin/com/natura/android/appbartop/StandardAppBarTop.kt +++ b/designsystem/src/main/kotlin/com/natura/android/appbartop/StandardAppBarTop.kt @@ -55,7 +55,7 @@ class StandardAppBarTop(context: Context, attrs: AttributeSet) : AppBarLayout(co private var proeminentContent: Boolean = false private var contentPosition: Int = LEFT - private val toolbar by lazy { findViewById(R.id.toolbar) } + val toolbar: Toolbar by lazy { findViewById(R.id.toolbar) } private val actionLeftContainer by lazy { findViewById(R.id.actionLeftContainer) } private val actionRightContainer by lazy { findViewById(R.id.actionRightContainer) } private val actionCenterContainer by lazy { findViewById(R.id.actionCenterContainer) }