aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-07-13 01:22:56 +0200
committerRobert Jaros <rjaros@finn.pl>2019-07-13 01:22:56 +0200
commit426da03b5a4e2d715c086e1bfd92b34358ae17ee (patch)
treec842225bf95ee06399cbc9caf546d467f24246cf /src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt
parentba5c00b6992d28cfb6afc7fab108c9009f9e1b7c (diff)
downloadkvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.tar.gz
kvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.tar.bz2
kvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.zip
Style fixes. Suppress style warnings.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt b/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt
index 5f911539..7f120f73 100644
--- a/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt
@@ -128,6 +128,7 @@ open class Modal(
content.add(header)
content.add(body)
content.add(footer)
+ @Suppress("LeakingThis")
modals.add(this)
@Suppress("LeakingThis")
init?.invoke(this)