Use property access syntax.

Signed-off-by: Tobias Preuss <tobias.preuss@googlemail.com>
This commit is contained in:
Tobias Preuss 2021-12-16 23:34:08 +01:00
parent ce0a582b3e
commit 5fd3317197

View file

@ -308,7 +308,7 @@ fun shareMedia(context: Context, file: File, mediaMimeType: String?) {
val sendIntent = ShareCompat.IntentBuilder(context) val sendIntent = ShareCompat.IntentBuilder(context)
.setType(mediaMimeType) .setType(mediaMimeType)
.setStream(mediaUri) .setStream(mediaUri)
.getIntent() .intent
sendShareIntent(context, sendIntent) sendShareIntent(context, sendIntent)
} }