yesterday a coworker here wrote something this ```...
# announcements
l
yesterday a coworker here wrote something this
Copy code
actionViewModel?.let { action ->
            vToolbarBackground.setBackgroundColor(ContextCompat.getColor(this, action.colorRes))
            tvClockMinute.setText(action.action)
        } ?: Timber.e("Action is null when publishing")
I tried to explain him that if shouldn’t be null or it should fail or not allow null, I was right? this code seems so wrong