mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
make Log.setEnabled backward-compatible with java class version
commit_hash:707b82c63eaea8995933f96554a9b9468450b8fa
This commit is contained in:
@@ -27,8 +27,8 @@ object Log {
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun setEnabled(enabled: Boolean) {
|
||||
_isEnabled = enabled
|
||||
fun setEnabled(enabled: Boolean?) {
|
||||
_isEnabled = enabled ?: false
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
|
||||
Reference in New Issue
Block a user