mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
Use property access syntax.
Signed-off-by: Tobias Preuss <tobias.preuss@googlemail.com>
This commit is contained in:
parent
ce0a582b3e
commit
5fd3317197
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue