From 12e44fba794f8692b6e3374a761ded118ba6f26f Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Thu, 26 Mar 2020 12:39:32 +0000 Subject: [PATCH] Remove protected from paddingStartItem setter --- library/src/main/java/cafe/adriel/krumbsview/KrumbsView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/src/main/java/cafe/adriel/krumbsview/KrumbsView.kt b/library/src/main/java/cafe/adriel/krumbsview/KrumbsView.kt index 4560707..4e00d26 100644 --- a/library/src/main/java/cafe/adriel/krumbsview/KrumbsView.kt +++ b/library/src/main/java/cafe/adriel/krumbsview/KrumbsView.kt @@ -43,7 +43,7 @@ open class KrumbsView(context: Context, attrs: AttributeSet? = null) : LinearLay protected val items = ArrayDeque() protected var _paddingStartItem: Int = 0 - protected var paddingStartItem: Int + var paddingStartItem: Int get () { return _paddingStartItem } @@ -401,4 +401,4 @@ open class KrumbsView(context: Context, attrs: AttributeSet? = null) : LinearLay outAnimation?.duration = duration.duration } } -} \ No newline at end of file +}