J茅r么me Gully
01/13/2020, 8:49 AMif (message.fileDescriptor?.isImageType ?: false)
Is there a better way to write that ? because fileDescriptor can be null, i'm forced to write ?: false, maybe kotlin as a sugar syntax to avoid the ?: false like "if this is null, it's false"Milan Hruban
01/13/2020, 8:55 AMif (message.fileDescriptor?.isImageType == true)Milan Hruban
01/13/2020, 8:55 AMJ茅r么me Gully
01/13/2020, 8:58 AM