mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Detekt: fix OptionalUnit issue.
This commit is contained in:
committed by
Benoit Marty
parent
29db17ae09
commit
bf49078e40
+1
-2
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user