Detekt: fix OptionalUnit issue.
This commit is contained in:
parent
29db17ae09
commit
bf49078e40
1 changed files with 1 additions and 2 deletions
|
|
@ -130,8 +130,7 @@ class AndroidLocalMediaActions @Inject constructor(
|
|||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
if (activityContext?.packageManager?.canRequestPackageInstalls() == false) {
|
||||
pendingMedia = localMedia
|
||||
activityContext?.startInstallFromSourceIntent(apkInstallLauncher!!)
|
||||
Unit
|
||||
activityContext?.startInstallFromSourceIntent(apkInstallLauncher!!).let { }
|
||||
} else {
|
||||
openFile(localMedia)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue