chore: update dependencies (#964)
--------- Co-authored-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
@@ -21,13 +21,6 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
buildConfigField("String", "APPLICATION_ID", "\"${rootProject.ext["applicationId"]}\"")
|
||||
}
|
||||
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId = rootProject.ext["applicationId"].toString() + ".manager"
|
||||
versionCode = 1
|
||||
versionName = "1.0.0"
|
||||
@@ -36,6 +29,10 @@ android {
|
||||
multiDexEnabled = true
|
||||
}
|
||||
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package me.rhunk.snapenhance.manager.ui.tab.impl.download
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Intent
|
||||
import android.net.Uri
|
||||
import android.widget.Toast
|
||||
@@ -174,7 +175,7 @@ class InstallPackageTab : Tab("install_app") {
|
||||
return
|
||||
}
|
||||
installPackageCallback = resultCallbacks@{ code ->
|
||||
installStage = if (code != ComponentActivity.RESULT_OK) {
|
||||
installStage = if (code != Activity.RESULT_OK) {
|
||||
InstallStage.ERROR
|
||||
} else {
|
||||
InstallStage.DONE
|
||||
@@ -208,7 +209,7 @@ class InstallPackageTab : Tab("install_app") {
|
||||
putExtra(Intent.EXTRA_RETURN_RESULT, true)
|
||||
}
|
||||
uninstallPackageCallback = resultCallback@{ resultCode ->
|
||||
if (resultCode != ComponentActivity.RESULT_OK) {
|
||||
if (resultCode != Activity.RESULT_OK) {
|
||||
installStage = InstallStage.ERROR
|
||||
downloadedFile?.delete()
|
||||
return@resultCallback
|
||||
|
||||
Reference in New Issue
Block a user