aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-06-05 14:49:20 +0200
committerRobert Jaros <rjaros@finn.pl>2020-06-05 14:49:20 +0200
commitdd41d887f679b3bb92e75845270d9981f7443ee9 (patch)
tree0f1e2bbcf79f43afe875010d954616910c9a556f
parent8f1e8cf6b68c19120e176ae181118f1f88074b33 (diff)
downloadkvision-dd41d887f679b3bb92e75845270d9981f7443ee9.tar.gz
kvision-dd41d887f679b3bb92e75845270d9981f7443ee9.tar.bz2
kvision-dd41d887f679b3bb92e75845270d9981f7443ee9.zip
Change access modifier of getSnStyle function.
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt b/src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt
index 9da4f1d1..ace11158 100644
--- a/src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt
@@ -374,7 +374,7 @@ abstract class StyledComponent {
* @return the list of attributes and their values
*/
@Suppress("ComplexMethod", "LongMethod")
- protected open fun getSnStyle(): List<StringPair> {
+ open fun getSnStyle(): List<StringPair> {
val cacheKey = getCacheKey()
return globalStyleCache[cacheKey] ?: run {
val snstyle = mutableListOf<StringPair>()