mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +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)
|
||||
.setType(mediaMimeType)
|
||||
.setStream(mediaUri)
|
||||
.getIntent()
|
||||
.intent
|
||||
|
||||
sendShareIntent(context, sendIntent)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue